Beiträge von TheGamerX

    jop


    public OnPlayerConnect(playerid)
    {
    for(new i = 0; i < AUTOHAUSER; i++)
    {
    SetPlayerMapIcon(playerid, 30+i, DtcSonstiges[i][0][0],DtcSonstiges[i][0][1],DtcSonstiges[i][0][2], 55, COLOR_YELLOW);
    }
    PlayAudioStreamForPlayer(playerid, "http://germanrrplay.funpic.de\Sounds\test.mp3");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_YELLOW, "Bitte Warten...");


    ....

    Hi ich habe eben in den alten LoH 0.4 script playaudiostreamforplayer eingebaut nur jedes mal kriege ich errors..


    C:\Users\Tufan\Desktop\desktop\GF EDITS\GamerXscript.pwn(3487) : error 027: invalid character constant
    C:\Users\Tufan\Desktop\desktop\GF EDITS\GamerXscript.pwn(3487) : error 027: invalid character constant
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.


    und hier die Zeile
    PlayAudioStreamForPlayer(playerid, "http://germanrrplay.funpic.de\Sounds\test.mp3");

    aber wenn ich new Faction = 0; raus mache kriege ich mehr errors


    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15227) : error 091: ambiguous constant; tag override is required (symbol "Faction")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15227) : warning 215: expression has no effect
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15228) : error 091: ambiguous constant; tag override is required (symbol "Faction")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15237) : error 017: undefined symbol "Factionskasse"
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25177) : warning 219: local variable "Faction" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25178) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25178) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25178) : warning 206: redundant test: constant expression is non-zero
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25188) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25188) : error 032: array index out of bounds (variable "Fracs")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25190) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25190) : error 032: array index out of bounds (variable "FraktionsKasse")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(25177) : warning 204: symbol is assigned a value that is never used: "Faction"
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(30051) : warning 204: symbol is assigned a value that is never used: "vehicleid"
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(36601) : warning 219: local variable "Faction" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(36602) : error 091: ambiguous constant; tag override is required (symbol "Faction")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(36602) : error 022: must be lvalue (non-constant)
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(36602) : error 091: ambiguous constant; tag override is required (symbol "Faction")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(36602) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    9 Errors.

    guten abend ich habe in meinem script ein bisschen ins englische übersetzt nur jz bekomme ich einige errors kann mir jemand helfen ?



    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15227) : warning 219: local variable "Faction" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15228) : error 091: ambiguous constant; tag override is required (symbol "Faction")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15228) : error 022: must be lvalue (non-constant)
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15228) : error 091: ambiguous constant; tag override is required (symbol "Faction")
    C:\Users\Tufan\Desktop\selfmade\gamemodes\selfmade.pwn(15228) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.



    ocmd:fbank(playerid,params[])
    {
    new Faction = 0;
    if(SpielerInfo[playerid][Faction] >= 0) Faction = SpielerInfo[playerid][Faction] - 1;
    if(Faction >= 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,2,2316.3601,-7.3589,26.7422))//HIER DIE KOORDINATEN EURER BANK/AUTOMATEN EINFÜGEN
    {
    if(SpielerInfo[playerid][Faction] == 1 || SpielerInfo[playerid][Faction] == 8 || SpielerInfo[playerid][Faction] == 6)
    {
    }
    else
    {
    ShowPlayerDialog(playerid,Factionskasse,DIALOG_STYLE_LIST,"Bankkonto","Auszahlen\nEinzahlen\nKontostand","Bestätigen","Abbrechen");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid,weiß,"Du bist nicht in der Bank.");
    return 1;
    }
    }
    return 1;
    }

    Guten Tag, also ich habe einen Problem mit meinem Schusstazer den ich gescriptet habe. Wenn ich auf jmd schieße mit der sd pistole und er ist getroffen und neben mir steht jmd anderes wird immer er getazert nicht der auf den ich schieße ..


    public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
    {
    if(weaponid == 23)
    if(IsACop(playerid))
    {
    new suspect = GetClosestPlayer(playerid);
    new giveplayer[MAX_PLAYER_NAME];
    new sendername[MAX_PLAYER_NAME];
    new string[128];
    if(TazerBereit[playerid] == 0)
    {
    SendClientMessage(playerid, COLOR_GREY, " Dein Tazer ist noch nicht aufgeladen! (ca. 20 Sekunden)");
    return 1;
    }
    TogglePlayerControllable(damagedid,0);
    SetTimerEx("tazer",8000,0,"i",damagedid);
    GetPlayerName(suspect, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s hat dich mit einem Stromschocker niedergestreckt.", sendername); SendClientMessage(suspect, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "Du hast %s mit einem Stromschocker niedergestreckt.", giveplayer);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "* %s holt seinen Stromschocker raus und streckt %s nieder.", sendername ,giveplayer);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    GameTextForPlayer(suspect, "~r~TAZED", 2500, 3);
    LoopingAnim(suspect, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
    PlayerCuffed[suspect] = 1;
    PlayerCuffedTime[suspect] = 8 + random(1);
    TazerBereit[playerid] = 0;
    SetTimerEx("TazerBereitForPlayer",20000,0,"i",playerid);
    GivePlayerWeapon(playerid, 24, 600);
    }
    return 1;
    }


    weiß jmd vllt warum und kann mir helfen

    Function OnPlayerExitVehicle(playerid, vehicleid)
    {
    StopAudioStreamForPlayer(playerid);
    if (GetPlayerState(playerid) == 1)
    {
    return 1;
    }
    if(gGas[playerid] == 1)
    {
    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~Auto Verlassen", 500, 3);
    }
    if(GetVehicleModel(vehicleid) == 408)
    {
    if(Mullabfuhr[playerid] == 1)
    {
    SendClientMessage(playerid, COLOR_RED, "* Du hast 15 Sekunden um in einen Muellwagen zu steigen !");
    SetTimerEx("MullabfuhrAbbruch", 15000, 0,"i",playerid);
    }
    }
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
    if(doors == true) SetVehicleParamsEx(vehicleid,1,lights,alarm,false,bonnet,boot,objective);// HIER IST WARNING
    SendClientMessage(playerid, 0xFFFFFFFF, "Das Fahrzeug ist nun wieder aufgeschlossen.");
    return 1;
    }


    C:\Users\Tufan\Desktop\GRR.pwn(9534) : warning 213: tag mismatch
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 13808 bytes
    Code size: 2576536 bytes
    Data size: 26431744 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements:29054856 bytes


    1 Warning.


    könnt ihr mir sagen was da falsch ist Vielen Dank im Voraus


    MfG, GamerX :thumbup:

    C:\Users\Tufan\Desktop\rentcar.pwn(101) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(103) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(130) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(140) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(141) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(142) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(143) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(161) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(168) : error 035: argument type mismatch (argument 1)
    C:\Users\Tufan\Desktop\rentcar.pwn(169) : error 035: argument type mismatch (argument 1)
    C:\Users\Tufan\Desktop\rentcar.pwn(246) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(248) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(250) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(251) : error 006: must be assigned to an array
    C:\Users\Tufan\Desktop\rentcar.pwn(252) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(253) : error 035: argument type mismatch (argument 2)
    C:\Users\Tufan\Desktop\rentcar.pwn(255) : error 035: argument type mismatch (argument 1)
    C:\Users\Tufan\Desktop\rentcar.pwn(269) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(271) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(273) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(276) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(278) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(293) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(296) : error 035: argument type mismatch (argument 1)
    C:\Users\Tufan\Desktop\rentcar.pwn(298) : error 033: array must be indexed (variable "MCInfo")
    C:\Users\Tufan\Desktop\rentcar.pwn(315) : error 033: array must be indexed (variable "MCInfo")


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.


    ich hab grade die pwn datei runtergeladen und habe 26 errors wisst ihr warum ?

    Hi Leute wenn ich samp starte und ins Spiel gehe dan ladet bei mir die map und dan gehts wieder weg und ladet etc ich weis nicht wie ich das beheben kann. könnt ihr mir helfen pls ??ß


    MfG GamerX