Beiträge von Y3Z0N

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums

    ich glaube mir fehlen includes kannst du mir mall welche schicken weill irrn was stimt nicht -.- weiß aber nicht was da steht immer


    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(1) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(1) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(2) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(3) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(3) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(4) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(4) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(5) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(5) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(6) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(6) : error 009: invalid array size (negative, zero or out of bounds)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    12 Errors.

    new Auto1[MAX_PLAYERS];
    new Auto3[MAX_PLAYERS];
    new Auto2[MAX_PLAYERS];
    new Auto11[MAX_PLAYERS];
    new Auto31[MAX_PLAYERS];
    new Auto21[MAX_PLAYERS];


    #include <a_samp>


    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnPlayerConnect(playerid)
    { Auto1[playerid]=999;
    Auto2[playerid]=999;
    Auto3[playerid]=999;
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    DestroyVehicle(Auto11[playerid]);
    DestroyVehicle(Auto21[playerid]);
    DestroyVehicle(Auto31[playerid]);
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(vehicleid == Auto11[i])
    {
    DestroyVehicle(Auto11[i]);
    Auto1[i]=999;
    SendClientMessage(i,0xddaaffff,"Slot 1 ist nun frei");
    }
    else if(vehicleid == Auto21[i])
    {
    DestroyVehicle(Auto21[i]);
    Auto2[i]=999;
    SendClientMessage(i,0xddaaffff,"Slot 2 ist nun frei");
    }
    else if(vehicleid == Auto31[i])
    {
    DestroyVehicle(Auto31[i]);
    Auto3[i]=999;
    SendClientMessage(i,0xddaaffff,"Slot 3 ist nun frei");
    }
    }
    }
    return 1;
    }


    new slot[MAX_PLAYERS];
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(strget(cmdtext,0),"/v",true)==0)
    {
    new vID = strval(strget(cmdtext,1));
    if( vID <= 611 && vID >= 400)
    {
    new Float:X,Float:Y,Float:Z,Float:Roat;
    new rand1=random(10);
    new rand2=random(10);
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid,Roat);
    if(Auto1[playerid]== 999)
    {
    Auto11[playerid]=CreateVehicle(vID,X,Y,Z,Roat,rand1,rand2,-1);
    PutPlayerInVehicle(playerid,Auto11[playerid],0);
    slot[playerid]=1;
    new string[128];
    Auto1[playerid]=1;
    format(string,sizeof(string),"Sie haben ein Auto auf Slot %i gespawnt cl1:%i cl2:%i",slot[playerid],rand1,rand2);
    SendClientMessage(playerid,0xddaaffff,string);
    }
    else if(Auto2[playerid]== 999)
    {
    Auto21[playerid]=CreateVehicle(vID,X,Y,Z,Roat,rand1,rand2,-1);
    PutPlayerInVehicle(playerid,Auto21[playerid],0);
    slot[playerid]=2;
    new string[128];
    Auto2[playerid]=1;
    format(string,sizeof(string),"Sie haben ein Auto auf Slot %i gespawnt cl1:%i cl2:%i",slot[playerid],rand1,rand2);
    SendClientMessage(playerid,0xddaaffff,string);
    }
    else if(Auto3[playerid]== 999)
    {
    Auto31[playerid]=CreateVehicle(vID,X,Y,Z,Roat,rand1,rand2,-1);
    PutPlayerInVehicle(playerid,Auto31[playerid],0);
    Auto3[playerid]=1;
    slot[playerid]=3;
    new string[128];
    format(string,sizeof(string),"Sie haben ein Auto auf Slot %i gespawnt cl1:%i cl2:%i",slot[playerid],rand1,rand2);
    SendClientMessage(playerid,0xddaaffff,string);
    }
    else
    {
    SendClientMessage(playerid,0xffaaffaa,"Sie Haben sich schon 3 Autos gerufe /ruf[1-3]um es zu holen");
    }
    return 1;
    }
    else
    {
    SendClientMessage(playerid,0xffaaffaa,"Sie müssen eine ID zwischen 400 und 611 wählen");
    }
    }
    if(strcmp(strget(cmdtext,0),"/ruf",true)==0)
    {
    new slot1 = strval(strget(cmdtext,1));
    new Float:X,Float:Y,Float:Z,Float:Roat;
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid,Roat);
    if(slot1 == 1)
    {
    if(Auto1[playerid] != 999)
    {
    PutPlayerInVehicle(playerid,Auto11[playerid],0);
    SetVehiclePos(Auto11[playerid],X,Y,Z);
    new string[128];
    format(string,sizeof(string),"Sie haben Slot %i gerufen",slot1);
    SendClientMessage(playerid,0xddaaffff,string);
    }
    else
    {
    SendClientMessage(playerid,0xffaaffaa,"Slot nicht besetzt");
    }
    }
    else if(slot1 == 2)
    {
    if(Auto2[playerid] != 999)
    {
    PutPlayerInVehicle(playerid,Auto21[playerid],0);
    SetVehiclePos(Auto21[playerid],X,Y,Z);
    new string[128];
    format(string,sizeof(string),"Sie haben Slot %i gerufen",slot1);
    SendClientMessage(playerid,0xddaaffff,string);
    }
    else
    {
    SendClientMessage(playerid,0xffaaffaa,"Slot nicht besetzt");
    }
    }
    else if(slot1 == 3)
    {
    if(Auto3[playerid] != 999)
    {
    PutPlayerInVehicle(playerid,Auto31[playerid],0);
    SetVehiclePos(Auto31[playerid],X,Y,Z);
    new string[128];
    format(string,sizeof(string),"Sie haben Slot %i gerufen",slot1);
    SendClientMessage(playerid,0xddaaffff,string);
    }
    else
    {
    SendClientMessage(playerid,0xffaaffaa,"Slot nicht besetzt");
    }
    }
    return 1;
    }
    return 0;
    }
    stock strget(strx[], pos, search = ' ') {
    new arg, ret[128], idxx;
    for (new i = 0; i < strlen(strx); i++) {
    if(strx[i] == search || i == strlen(strx) || strx[i + 1] == 10) {
    arg++;
    if (arg == pos + 1){
    ret[i-idxx] = EOS;
    return ret;
    } else if (arg == pos)
    idxx= i+1;
    }
    else if (arg == pos)
    ret[i - idxx] = strx[i];
    }
    return ret;
    }

    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(1) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(1) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(2) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(3) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(3) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(4) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(4) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(5) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(5) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(6) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp3.pwn(6) : error 009: invalid array size (negative, zero or out of bounds)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    12 Errors.

    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(1) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(1) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(2) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(3) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(3) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(4) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(4) : error 009: invalid array size (negative, zero or out of bounds)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    8 Errors.

    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(1) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(1) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(2) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(3) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(3) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(4) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(4) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(5) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(7) : error 017: undefined symbol "strcmp"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(9) : error 017: undefined symbol "strval"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(11) : error 017: undefined symbol "random"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(12) : error 017: undefined symbol "random"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(13) : error 017: undefined symbol "GetPlayerPos"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(14) : error 017: undefined symbol "GetPlayerFacingAngle"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(17) : error 017: undefined symbol "PutPlayerInVehicle"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(20) : error 017: undefined symbol "GetPlayerVehicleID"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(25) : error 017: undefined symbol "GetPlayerVehicleID"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(30) : error 017: undefined symbol "GetPlayerVehicleID"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(34) : error 017: undefined symbol "format"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(34) : warning 202: number of arguments does not match definition
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(34) : warning 202: number of arguments does not match definition
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(34) : warning 202: number of arguments does not match definition
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(34) : warning 202: number of arguments does not match definition
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(34) : warning 202: number of arguments does not match definition
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(35) : error 017: undefined symbol "SendClientMessage"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(39) : error 017: undefined symbol "SendClientMessage"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(12) : warning 204: symbol is assigned a value that is never used: "rand2"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(11) : warning 204: symbol is assigned a value that is never used: "rand1"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(10) : warning 203: symbol is never used: "Roat"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(10) : warning 203: symbol is never used: "Z"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(10) : warning 203: symbol is never used: "Y"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(10) : warning 203: symbol is never used: "X"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(9) : warning 204: symbol is assigned a value that is never used: "vID"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(9 -- 42) : error 017: undefined symbol "strcmp"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(44) : error 017: undefined symbol "strval"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(46) : error 017: undefined symbol "GetPlayerPos"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(47) : error 017: undefined symbol "GetPlayerFacingAngle"
    C:\Users\Jason\Desktop\WOS\filterscripts\sp2.pwn(50) : error 017: undefined symbol "SetVehiclePos"


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



    26 Errors.

    ich brauche ein scipt das wen ich /v[I/NAME] eingebe car spawn kann (für ale users!) und man kann maximal 3 Cars Spawn! und wen man mal ein car verliert (verschlamp :D) sollte man den command /ruf1-3 machen können dieser wirk das das Car sich wieder hertellt brauche den sript währe nett! :D

    Es ich echt toll von 10pk 8!
    aber ein bug ist dort
    die ganzen ! Zeichen sind Objecte du musst es als CreatePickup Machen :9 ud am besten machst du dort Teleports hin um von der anlage zu flüchten ode rum die türen aufzumachen ;D dan 10PK!

    Naja wie der Titel Erzehlt brauche ich ein Car Spawner Mit dem ich /v ID oder Auto Name EIngeben muss und das dan neben mir gespawnt wird habe auch schon Sufu! Benuzt und habe nix gefunden nur für
    Rcon admins aber ich brauche diesen script für Alle users! Dake im voraus!!!!