Beiträge von Ghosty_101

    Hallo Community,
    Ich hab mir einen kleinen Spawnpunkt gemappt , Die Koordinaten wo die Kamera und der Spieler stehen soll hab ich auch eingesetzt.
    Aber bei der charakter Auswahl ist nichts zu sehen ?( .
    SetPlayerPos(playerid, 3096.1868,-61.5218,1547.7147);
    SetPlayerCameraPos(playerid, 3096.1868,-61.5218,1547.7147);
    SetPlayerCameraLookAt(playerid, 3096.0989,-57.3007,1547.7147);

    und hier der Spawnpunkt:
    CreateStreamObject(14404,3096.08691406,-57.28034973,1548.46472168,0.00000000,0.00000000,0.00000000,250); //object(jet_interior) (1)
    CreateStreamObject(1562,3094.91528320,-58.17035675,1547.37731934,0.00000000,0.00000000,0.00000000,250); //object(ab_jetseat) (1)
    CreateStreamObject(1562,3097.11181641,-57.47154236,1547.37731934,0.00000000,0.00000000,0.00000000,250); //object(ab_jetseat) (2)
    CreateStreamObject(1562,3097.04003906,-59.48503113,1547.37731934,0.00000000,0.00000000,180.00000000,250); //object(ab_jetseat) (3)
    CreateStreamObject(1562,3095.13671875,-60.65850830,1547.37731934,0.00000000,0.00000000,179.99450684,250); //object(ab_jetseat) (4)
    CreateStreamObject(1563,3094.91381836,-57.82627487,1547.90246582,0.00000000,0.00000000,0.00000000,250); //object(ab_jetseat_hrest) (2)
    CreateStreamObject(1563,3095.14868164,-61.00000000,1547.90649414,0.00000000,0.00000000,180.00000000,250); //object(ab_jetseat_hrest) (3)
    CreateStreamObject(1563,3097.04931641,-59.82752228,1547.90246582,0.00000000,0.00000000,180.00000000,250); //object(ab_jetseat_hrest) (4)
    CreateStreamObject(1563,3097.11962891,-57.10666275,1547.90991211,0.00000000,0.00000000,0.00000000,250); //object(ab_jetseat_hrest) (5)
    CreateStreamObject(1562,3097.05834961,-62.00464630,1547.36987305,0.00000000,0.00000000,180.00000000,250); //object(ab_jetseat) (5)
    CreateStreamObject(1562,3094.99169922,-63.02510071,1547.36987305,0.00000000,0.00000000,179.99450684,250); //object(ab_jetseat) (6)
    CreateStreamObject(1563,3097.05615234,-62.33804703,1547.89501953,0.00000000,0.00000000,180.00000000,250); //object(ab_jetseat_hrest) (6)
    CreateStreamObject(1563,3094.98901367,-63.37137985,1547.89501953,0.00000000,0.00000000,179.99450684,250); //object(ab_jetseat_hrest) (7)
    CreateStreamObject(2635,3094.82788086,-56.38600159,1547.11950684,0.00000000,0.00000000,0.00000000,250); //object(cj_pizza_table) (1)
    CreateStreamObject(1670,3094.82177734,-56.21483612,1547.55810547,0.00000000,0.00000000,0.00000000,250); //object(propcollecttable) (1)
    CreateStreamObject(2967,3095.24291992,-58.32012177,1547.40075684,0.00000000,0.00000000,0.00000000,250); //object(mobile1993a) (1)
    CreateStreamObject(8674,3096.00268555,-53.30487442,1548.18164062,0.00000000,0.00000000,0.00000000,250); //object(csrsfence02_lvs) (1)

    //edit ICH BENÜTZE MIDOSTREAM


    MfG GHOSTY "Der ein Brett vor dem Kopf hat ^^ "

    ne, die is ok , is nur oben so ;) ;) ^^
    // This is a comment
    // uncomment the line below if you want to write a filterscript


    #define FILTERSCRIPT


    #include <a_samp>


    #if defined FILTERSCRIPT


    #define adminmenu 122
    #define weaponmenu 133
    #define COLOR_GREY 0xAFAFAFAA
    #define COLOR_GREEN 0x33AA33AA
    #define COLOR_RED 0xFF0000AA
    #define red 0xFF0000FF
    #define rot 0xFF0000FF
    #define COLOR_BLUE 0x0000BBAA
    #define COLOR_LIGHTBLUE 0x33CCFFAA
    #define COLOR_DARKRED 0x660000AA
    #define COLOR_WHITE 0xFFFFFFAA
    #define COLOR_YELLOW 0xF1FE01FF
    #define COLOR_PURPLE 0x9E18E7FF


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print("ADMINFS");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }



    #endif



    public OnPlayerCommandText(playerid, cmdtext[])
    {


    if (strcmp("/adminmenu", cmdtext, true, 10) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    ShowPlayerDialog(playerid,122, DIALOG_STYLE_LIST, "Adminmenu", "Kick\nOmg1\nOmg2\nHydra\nAdminbase\nPlatz für ein Command\nAdmincmds\nGodmodeon\nGodmodeoff\nUndercover", "OK", "Abbord");
    }else {
    SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: You arent an ADMIN");
    }
    return 1;
    }

    if (strcmp("/admincmds", cmdtext, true, 10) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    SendClientMessage (playerid,0xFFFF00AA,"/goto [playerid] /gethere [playerid] /giveweapon [ID] [gunID] [ammo] /rcon gravity [0.008]");
    }else{
    SendClientMessage(playerid,0xFF0000AA,"SERVER:You arent an ADMIN");
    }
    return 1;
    }


    if (strcmp("/undercover", cmdtext, true) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, false);
    SendClientMessage(playerid, COLOR_GREEN, "Du bist jetzt undercover!");
    }else{
    SendClientMessage(playerid, COLOR_GREEN, "Server:You arent an ADMIN");
    }
    return 1;
    }



    new tmp[128],cmd[128],idx;
    cmd = strtok(cmdtext,idx);
    if(!strcmp("/goto",cmd,true))
    {
    if(IsPlayerAdmin(playerid)) {
    tmp = strtok(cmdtext,idx);
    if(!tmp[0])return SendClientMessage(playerid,0xFF0000FF,"Nutze /goto [playerid]");
    new pointer = strval(tmp);
    if(!IsPlayerConnected(pointer) || IsPlayerNPC(pointer))return SendClientMessage(playerid,0xFF0000FF,"Dieser Spieler ist nicht Aktiv!");
    new Float:pos[3];
    GetPlayerPos(pointer,pos[0],pos[1],pos[2]);
    ResetPlayerWeapons(playerid);
    SetPlayerPos(playerid,pos[0],pos[1],pos[2]);
    }else{ SendClientMessage(playerid,0xFF0000AA,"SERVER:You arent an ADMIN");
    }
    return 1;
    }


    if(!strcmp(strget(cmdtext, 0), "/gethere")) {
    if(IsPlayerAdmin(playerid)) {
    new opfa = strval(strget(cmdtext, 1));
    if(IsPlayerConnected(opfa)) {
    new Float:x, Float:y, Float:z, name[MAX_PLAYER_NAME], string[256];
    GetPlayerPos(playerid,x,y,z);
    GetPlayerName(opfa,name,sizeof(name));
    format(string,sizeof(string),"Du hast %s zu dir teleportiert",name);
    SendClientMessage(playerid,0x33FF33AA,string);
    if(IsPlayerInAnyVehicle(opfa)) {
    new autoid = GetPlayerVehicleID(opfa);
    SetPlayerPos(opfa,x+1,y,z); SetVehiclePos(autoid,x+1,y,z); SetPlayerInterior(opfa,GetPlayerInterior(playerid)); LinkVehicleToInterior(autoid,GetPlayerInterior(playerid)); PutPlayerInVehicle(opfa,autoid,0); } else {
    ResetPlayerWeapons(playerid);
    SetPlayerPos(opfa,x+1,y,z); SetPlayerInterior(opfa,GetPlayerInterior(playerid)); }}
    else { SendClientMessage(playerid,0xFF0000AA,"ID nicht vergeben"); }}
    else { SendClientMessage(playerid,0xFF0000AA,"SERVER:You arent an ADMIN"); }
    return 1;
    }



    if(!strcmp(strget(cmdtext, 0),"/giveweapon"))
    {
    if(IsPlayerAdmin(playerid))
    {
    new target = strval(strget(cmdtext, 1));
    new gunid = strval(strget(cmdtext, 2));
    new ammo = strval(strget(cmdtext, 3));
    if(gunid == 38) { return 1; }
    if(!strlen(strget(cmdtext, 1))) { SendClientMessage(playerid,COLOR_GREEN,"Benutze: /giveweapon [ID] [gunID] [ammo]"); return 1; }
    if(!IsPlayerConnected(target)) { SendClientMessage(playerid,COLOR_GREEN,"Diese ID ist nicht vergeben"); return 1; }
    {
    GivePlayerWeapon(target,gunid,ammo);
    }
    }else{
    SendClientMessage(playerid, COLOR_GREEN, "SERVER: You arent an ADMIN");
    }
    return 1;
    }



    return 1;
    }



    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {


    if(dialogid == 122) //ADMINMENU
    {
    if(listitem == 0) //Kick
    {
    //Platz für noch irgendwas
    }


    if(listitem == 1) //Ban
    {
    //Platz für noch irgendwas
    }
    if(listitem == 2) //Weaponmenu
    {
    ShowPlayerDialog(playerid,133, DIALOG_STYLE_LIST, "Weaponmenu", "Uzi\nSpawn off Shotgun\nTec9\nMp5\nM4\nAK-47\nSniper Rifle\nCombat Shotgun\nShotgun\nDesert Eagle\nMinigun\nRPG\nGrenade", "OK", "Abbord");
    }
    if(listitem == 3) //Hydra
    {
    new Float:X,Float:Y,Float:Z,Float:Angle, carid;
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid,Angle);
    carid = GetPlayerVehicleID(playerid);
    carid = CreateVehicle(520,X,Y,Z,Angle,-1,-1,600);
    PutPlayerInVehicle(playerid,carid,0);
    TogglePlayerControllable(playerid,true);
    return SendClientMessage(playerid, 0x40FF40FF, "Hydra spawned!");
    }
    if(listitem == 4) //Adminbase
    {
    SetPlayerPos(playerid, 1601.0415,-1684.5365,5.8906);
    }
    if(listitem == 5)
    {
    //Platz für noch irgendwas
    }
    if(listitem == 6) //adminCMDS
    {
    SendClientMessage (playerid,0xFFFF00AA,"/goto [playerid] /gethere [playerid] /jail [playerid] /unjail [playerid]");
    }
    if(listitem == 7) //Godmode on
    {


    if(IsPlayerAdmin(playerid))
    {
    new playrname[MAX_PLAYER_NAME];
    new pname[MAX_PLAYER_NAME];
    new string[100];
    SetPlayerHealth(playerid, 0x7F800000);
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "%s Godmode: ON!", pname);
    SendClientMessageToAll(0xFFFF00AA, string);
    GetPlayerName(playerid, playrname, sizeof(playrname));
    }else{
    SendClientMessage(playerid, 0xAA3333AA, "Server: You arent an ADMIN");
    }
    }
    if(listitem == 8) //Godmode off
    {


    if(IsPlayerAdmin(playerid))
    {
    new playrname[MAX_PLAYER_NAME];
    new pname[MAX_PLAYER_NAME];
    new string[100];
    SetPlayerHealth(playerid, 100);
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "%s Godmode: OFF!", pname);
    SendClientMessageToAll(0xFFFF00AA, string);
    GetPlayerName(playerid, playrname, sizeof(playrname));
    }else{
    SendClientMessage(playerid, 0xAA3333AA, "Server: You arent an ADMIN");
    }


    }

    if(listitem == 9) //Undercover
    {

    if(IsPlayerAdmin(playerid))
    {
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, false);
    SendClientMessage(playerid, COLOR_GREEN, "Du bist jetzt undercover!");
    }else{
    SendClientMessage(playerid, COLOR_GREEN, "Server:You arent an ADMIN");
    }
    }


    }




    if(dialogid == 133) //Weaponmenu
    {
    if(listitem == 0)
    {
    GivePlayerWeapon(playerid, 28, 99999);
    }
    if(listitem == 1)
    {
    GivePlayerWeapon(playerid, 26, 99999);
    }
    if(listitem == 2)
    {
    GivePlayerWeapon(playerid, 32, 99999);
    }
    if(listitem == 3)
    {
    GivePlayerWeapon(playerid, 29, 99999);
    }
    if(listitem == 4)
    {
    GivePlayerWeapon(playerid, 31, 99999);
    }
    if(listitem == 5)
    {
    GivePlayerWeapon(playerid, 30, 99999);
    }
    if(listitem == 6)
    {
    GivePlayerWeapon(playerid, 34, 99999);
    }
    if(listitem == 7)
    {
    GivePlayerWeapon(playerid, 27, 99999);
    }
    if(listitem == 8)
    {
    GivePlayerWeapon(playerid, 25, 99999);
    }
    if(listitem == 9)
    {
    GivePlayerWeapon(playerid, 24, 99999);
    }
    if(listitem == 10)
    {
    GivePlayerWeapon(playerid, 38, 99999);
    }
    if(listitem == 11)
    {
    GivePlayerWeapon(playerid, 35, 99999);
    }
    if(listitem == 12)
    {
    GivePlayerWeapon(playerid, 16, 99999);
    }


    return 1;
    }





    Hallo Community, Ich bin am verzweifeln. -.- Hab mir mal so einiges zusammegebastelt aber iwie funktioniert des nicht mehr.
    Da kommen diese Errors:




    // This is a comment
    // uncomment the line below if you want to write a filterscript


    #define FILTERSCRIPT


    #include


    #if defined FILTERSCRIPT


    #define adminmenu 122
    #define weaponmenu 133
    #define COLOR_GREY 0xAFAFAFAA
    #define COLOR_GREEN 0x33AA33AA
    #define COLOR_RED 0xFF0000AA
    #define red 0xFF0000FF
    #define rot 0xFF0000FF
    #define COLOR_BLUE 0x0000BBAA
    #define COLOR_LIGHTBLUE 0x33CCFFAA
    #define COLOR_DARKRED 0x660000AA
    #define COLOR_WHITE 0xFFFFFFAA
    #define COLOR_YELLOW 0xF1FE01FF
    #define COLOR_PURPLE 0x9E18E7FF


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print("ADMINFS");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }



    #endif



    public OnPlayerCommandText(playerid, cmdtext[])
    {


    if (strcmp("/adminmenu", cmdtext, true, 10) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    ShowPlayerDialog(playerid,122, DIALOG_STYLE_LIST, "Adminmenu", "Kick\nOmg1\nOmg2\nHydra\nAdminbase\nPlatz für ein Command\nAdmincmds\nGodmodeon\nGodmodeoff\nUndercover", "OK", "Abbord");
    }else {
    SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: You arent an ADMIN");
    }
    return 1;
    }


    if (strcmp("/admincmds", cmdtext, true, 10) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    SendClientMessage (playerid,0xFFFF00AA,"/goto [playerid] /gethere [playerid] /giveweapon [ID] [gunID] [ammo] /rcon gravity [0.008]");
    }else{
    SendClientMessage(playerid,0xFF0000AA,"SERVER:You arent an ADMIN");
    }
    return 1;
    }


    if (strcmp("/undercover", cmdtext, true) == 0)
    {
    if(IsPlayerAdmin(playerid))
    {
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, false);
    SendClientMessage(playerid, COLOR_GREEN, "Du bist jetzt undercover!");
    }else{
    SendClientMessage(playerid, COLOR_GREEN, "Server:You arent an ADMIN");
    }
    return 1;
    }



    new tmp[128],cmd[128],idx;
    cmd = strtok(cmdtext,idx);
    if(!strcmp("/goto",cmd,true))
    {
    if(IsPlayerAdmin(playerid)) {
    tmp = strtok(cmdtext,idx);
    if(!tmp[0])return SendClientMessage(playerid,0xFF0000FF,"Nutze /goto [playerid]");
    new pointer = strval(tmp);
    if(!IsPlayerConnected(pointer) || IsPlayerNPC(pointer))return SendClientMessage(playerid,0xFF0000FF,"Dieser Spieler ist nicht Aktiv!");
    new Float:pos[3];
    GetPlayerPos(pointer,pos[0],pos[1],pos[2]);
    ResetPlayerWeapons(playerid);
    SetPlayerPos(playerid,pos[0],pos[1],pos[2]);
    }else{ SendClientMessage(playerid,0xFF0000AA,"SERVER:You arent an ADMIN");
    }
    return 1;
    }


    if(!strcmp(strget(cmdtext, 0), "/gethere")) {
    if(IsPlayerAdmin(playerid)) {
    new opfa = strval(strget(cmdtext, 1));
    if(IsPlayerConnected(opfa)) {
    new Float:x, Float:y, Float:z, name[MAX_PLAYER_NAME], string[256];
    GetPlayerPos(playerid,x,y,z);
    GetPlayerName(opfa,name,sizeof(name));
    format(string,sizeof(string),"Du hast %s zu dir teleportiert",name);
    SendClientMessage(playerid,0x33FF33AA,string);
    if(IsPlayerInAnyVehicle(opfa)) {
    new autoid = GetPlayerVehicleID(opfa);
    SetPlayerPos(opfa,x+1,y,z); SetVehiclePos(autoid,x+1,y,z); SetPlayerInterior(opfa,GetPlayerInterior(playerid)); LinkVehicleToInterior(autoid,GetPlayerInterior(playerid)); PutPlayerInVehicle(opfa,autoid,0); } else {
    ResetPlayerWeapons(playerid);
    SetPlayerPos(opfa,x+1,y,z); SetPlayerInterior(opfa,GetPlayerInterior(playerid)); }}
    else { SendClientMessage(playerid,0xFF0000AA,"ID nicht vergeben"); }}
    else { SendClientMessage(playerid,0xFF0000AA,"SERVER:You arent an ADMIN"); }
    return 1;
    }



    if(!strcmp(strget(cmdtext, 0),"/giveweapon"))
    {
    if(IsPlayerAdmin(playerid))
    {
    new target = strval(strget(cmdtext, 1));
    new gunid = strval(strget(cmdtext, 2));
    new ammo = strval(strget(cmdtext, 3));
    if(gunid == 38) { return 1; }
    if(!strlen(strget(cmdtext, 1))) { SendClientMessage(playerid,COLOR_GREEN,"Benutze: /giveweapon [ID] [gunID] [ammo]"); return 1; }
    if(!IsPlayerConnected(target)) { SendClientMessage(playerid,COLOR_GREEN,"Diese ID ist nicht vergeben"); return 1; }
    {
    GivePlayerWeapon(target,gunid,ammo);
    }
    }else{
    SendClientMessage(playerid, COLOR_GREEN, "SERVER: You arent an ADMIN");
    }
    return 1;
    }



    return 1;
    }



    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {


    if(dialogid == 122) //ADMINMENU
    {
    if(listitem == 0) //Kick
    {
    //Platz für noch irgendwas
    }


    if(listitem == 1) //Ban
    {
    //Platz für noch irgendwas
    }
    if(listitem == 2) //Weaponmenu
    {
    ShowPlayerDialog(playerid,133, DIALOG_STYLE_LIST, "Weaponmenu", "Uzi\nSpawn off Shotgun\nTec9\nMp5\nM4\nAK-47\nSniper Rifle\nCombat Shotgun\nShotgun\nDesert Eagle\nMinigun\nRPG\nGrenade", "OK", "Abbord");
    }
    if(listitem == 3) //Hydra
    {
    new Float:X,Float:Y,Float:Z,Float:Angle, carid;
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid,Angle);
    carid = GetPlayerVehicleID(playerid);
    carid = CreateVehicle(520,X,Y,Z,Angle,-1,-1,600);
    PutPlayerInVehicle(playerid,carid,0);
    TogglePlayerControllable(playerid,true);
    return SendClientMessage(playerid, 0x40FF40FF, "Hydra spawned!");
    }
    if(listitem == 4) //Adminbase
    {
    SetPlayerPos(playerid, 1601.0415,-1684.5365,5.8906);
    }
    if(listitem == 5)
    {
    //Platz für noch irgendwas
    }
    if(listitem == 6) //adminCMDS
    {
    SendClientMessage (playerid,0xFFFF00AA,"/goto [playerid] /gethere [playerid] /jail [playerid] /unjail [playerid]");
    }
    if(listitem == 7) //Godmode on
    {


    if(IsPlayerAdmin(playerid))
    {
    new playrname[MAX_PLAYER_NAME];
    new pname[MAX_PLAYER_NAME];
    new string[100];
    SetPlayerHealth(playerid, 0x7F800000);
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "%s Godmode: ON!", pname);
    SendClientMessageToAll(0xFFFF00AA, string);
    GetPlayerName(playerid, playrname, sizeof(playrname));
    }else{
    SendClientMessage(playerid, 0xAA3333AA, "Server: You arent an ADMIN");
    }
    }
    if(listitem == 8) //Godmode off
    {


    if(IsPlayerAdmin(playerid))
    {
    new playrname[MAX_PLAYER_NAME];
    new pname[MAX_PLAYER_NAME];
    new string[100];
    SetPlayerHealth(playerid, 100);
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "%s Godmode: OFF!", pname);
    SendClientMessageToAll(0xFFFF00AA, string);
    GetPlayerName(playerid, playrname, sizeof(playrname));
    }else{
    SendClientMessage(playerid, 0xAA3333AA, "Server: You arent an ADMIN");
    }


    }


    if(listitem == 9) //Undercover
    {


    if(IsPlayerAdmin(playerid))
    {
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, false);
    SendClientMessage(playerid, COLOR_GREEN, "Du bist jetzt undercover!");
    }else{
    SendClientMessage(playerid, COLOR_GREEN, "Server:You arent an ADMIN");
    }
    }



    }






    if(dialogid == 133) //Weaponmenu
    {
    if(listitem == 0)
    {
    GivePlayerWeapon(playerid, 28, 99999);
    }
    if(listitem == 1)
    {
    GivePlayerWeapon(playerid, 26, 99999);
    }
    if(listitem == 2)
    {
    GivePlayerWeapon(playerid, 32, 99999);
    }
    if(listitem == 3)
    {
    GivePlayerWeapon(playerid, 29, 99999);
    }
    if(listitem == 4)
    {
    GivePlayerWeapon(playerid, 31, 99999);
    }
    if(listitem == 5)
    {
    GivePlayerWeapon(playerid, 30, 99999);
    }
    if(listitem == 6)
    {
    GivePlayerWeapon(playerid, 34, 99999);
    }
    if(listitem == 7)
    {
    GivePlayerWeapon(playerid, 27, 99999);
    }
    if(listitem == 8)
    {
    GivePlayerWeapon(playerid, 25, 99999);
    }
    if(listitem == 9)
    {
    GivePlayerWeapon(playerid, 24, 99999);
    }
    if(listitem == 10)
    {
    GivePlayerWeapon(playerid, 38, 99999);
    }
    if(listitem == 11)
    {
    GivePlayerWeapon(playerid, 35, 99999);
    }
    if(listitem == 12)
    {
    GivePlayerWeapon(playerid, 16, 99999);
    }


    return 1;
    }




    </a_samp>

    Hier mal was kleines für Stunt server :)
    if(strcmp("/fix", cmdtext, true, 10) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
    RepairVehicle(GetPlayerVehicleID(playerid));
    SendClientMessage(playerid, COLOR_GREY, "Car repaired");
    }
    }
    return 1;
    }


    Ich glaube du meinst GIF Bilder, da Flash (swf) Bilder nur mit entweder Adobe Flash professional (ich glaube es kostet 700€) oder mit irgendeiner teuren Software zu machen sind.
    Ausserdem erfordert eine Animation ne Menge arbeit. Zu deiner Frage: Such mal bei google nach dem Selecto Flash designer, da glaub ich gibts ne Testversion die nicht so riesig is wie die Testversion von Adobe Flash professionel.
    Mfg GHOSTY

    Auch wenn des Thema schon ein bissl älter ist, nutzen tuns anscheinend doch noch ein paar :)
    if(IsPlayerInRangeOfPoint(playerid,1363.4910,-1279.8993,13.5469,20.0)) { ImAmmu[playerid] = 1; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,2400.6536,-1977.2694,13.3828,20.0)) { ImAmmu[playerid] = 2; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,2338.1833,61.8241,26.4844,20.0)) { ImAmmu[playerid] = 3; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,238.1051,-178.7302,1.5781,20.0)) { ImAmmu[playerid] = 4; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,-2090.5681,-2460.9922,30.4688,20.0)) { ImAmmu[playerid] = 5; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,-2626.1147,212.5514,4.6123,20.0)) { ImAmmu[playerid] = 6; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,-310.6950,829.5585,14.2422,20.0)) { ImAmmu[playerid] = 7; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,-1508.6484,2606.1296,55.6866,20.0)) { ImAmmu[playerid] = 8; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,2154.7163,942.6838,10.8203,20.0)) { ImAmmu[playerid] = 9; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,780.8377,1871.3984,4.8832,20.0)) { ImAmmu[playerid] = 10; Ammu[playerid] = SetTimer("Ammunation",1500,0); }
    if(IsPlayerInRangeOfPoint(playerid,2535.7053,2083.8538,10.8203,20.0)) { ImAmmu[playerid] = 11; Ammu[playerid] = SetTimer("Ammunation",1500,0); }

    Dann ist alles wieder auf dem aktuellen Stand

    Hallo,
    ich habe mir ein kleines Deathmatch gebastelt in dem man Waffen kriegt. ich möchte dass man keine teleport commands im DM benutzen kann.Also nur /exitdm
    Danke im voraus. :D
    Mfg GHOSTY