Beiträge von John_Sanclear

    machs mal lieber so


    GetVehicleParamsEx(i,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(i,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);


    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : error 017: undefined symbol "i"
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(376) : error 017: undefined symbol "i"
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : error 017: undefined symbol "i"
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(384) : error 017: undefined symbol "i"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.

    Hallo Leute,


    ich wollte fragen warum bei mir diese warnings kommen?


    Teil aus dem Script:


    OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){ if(GetVehicleModel(vehicleid) == 509 || GetVehicleModel(vehicleid) == 481 || GetVehicleModel(vehicleid) == 510) { GetVehicleParamsEx(vehicleid); SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_ON); } return 1;}
    OnVehicleSpawn(vehicleid){ GetVehicleParamsEx(vehicleid); SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF); Motor[vehicleid] = false; return 1;}


    Warinings:



    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(375) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(376) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(376) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(376) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(376) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(376) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(376) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(383) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(384) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(384) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(384) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(384) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(384) : warning 202: number of arguments does not match definition
    C:\Users\Familie\Desktop\German Deathmatch\filterscripts\Tacho.pwn(384) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Warnings.

    Hallo liebe Community,


    ich wollte mal fragen wie ich machen kann das wenn ich einem aus meinem Team abballer eine nachricht
    am Bildschirm kommt "dont attack your team" oder so. Also es sollte gorß in der Mitte vom Bildschirm stehen.
    Und wenn mal es 3 mal macht soll man gekickt werden.


    Hab leider gar kein Plan wie ich es machen soll.


    Ich hoffe Ihr könnt mir helfen.
    John_Sanclear

    Bekomme nur noch diesen Warning:


    C:\Dokumente und Einstellungen\Bärtle\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2886) : warning 209: function "ocmd_givecash" should return a value
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.

    Hab das jetzt eingesetzt:


    ocmd:givecash(playerid, params[])
    {
    if(!isPlayerAnAdmin(playerid,2))return SendClientMessage(playerid,HELLROT,"AdmCmd: Du besitzt keine Rechte, um diesen Befehl zu benutzen!");
    new money;
    if(sscanf(params,"d",money)) return SendClientMessage(playerid,-1,"Nutze: /givecash (amount)");
    foreach(Player,i)
    {
    GivePlayerMoney(i,money);
    }
    }


    Bekomme ber diese Errors:



    C:\DOKUME~1\BRTLE~1\Desktop\GERMAN~1\pawno\include\sscanf.inc(173) : error 017: undefined symbol "foreach"
    C:\DOKUME~1\BRTLE~1\Desktop\GERMAN~1\pawno\include\sscanf.inc(175) : error 017: undefined symbol "playerid"
    C:\DOKUME~1\BRTLE~1\Desktop\GERMAN~1\pawno\include\sscanf.inc(178) : error 017: undefined symbol "playerid"
    C:\Dokumente und Einstellungen\Bärtle\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2881) : error 017: undefined symbol "foreach"
    C:\Dokumente und Einstellungen\Bärtle\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2883) : error 017: undefined symbol "i"
    C:\Dokumente und Einstellungen\Bärtle\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2885) : warning 209: function "ocmd_givecash" should return a value
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.

    Hallo Community,
    ich möchte das ich per /giveall GELDMENGE allen Spieler die gerade Online sind Geld geben kann.
    D.h wenn ich /giveall 3500 mache, dass alle SPieler die ONLINE sind 3500$ bekommen.
    Ich bräuchte dringend Hilfe. Durch ocmd bitte.


    mfG,
    Ien_Levin

    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if(GetVehicleModel(vehicleid) == 432 && GetPlayerScore(playerid ) < 60)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,HELLROT,"AdmCmd: Dein Rank reicht nicht aus, damit Du dieses Fahrzeug fahren kannst!");
    return 1;
    }
    }


    Dann diese Errors und Warning:


    C:\Dokumente und Einstellungen\Bärtle\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(1212) : error 017: undefined symbol "vehicleid"
    C:\Dokumente und Einstellungen\Bärtle\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(1218) : warning 209: function "OnPlayerStateChange" should return a value
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    So: ?



    if(GetVehicleModel(vehicleid) == 432)
    {
    if(GetPlayerScore(issuerid)<60);
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,HELLROT,"AdmCmd: Dein Rank reicht nicht aus, damit Du dieses Fahrzeug fahren kannst!");
    return 1;
    }
    }