Beiträge von SHORE

    In der Readme steht alles drinne was man braucht aber egal...




    • Downloaden
    • Öffnen
    • plugins Ordner in dein Server Verzeichnis kopieren
    • pawno / include ordner öffnen und die streamer.inc in deinen include Ordner kopieren
    • deine server.cfg öffnen und "plugins streamer" rein kopieren
    • dein script öffnen


      Ganz oben ins Script
      #include <streamer>


      #define STREAMER_TYPE_OBJECT (0)
      #define STREAMER_TYPE_PICKUP (1)
      #define STREAMER_TYPE_CP (2)
      #define STREAMER_TYPE_RACE_CP (3)
      #define STREAMER_TYPE_MAP_ICON (4)
      #define STREAMER_TYPE_3D_TEXT_LABEL (5)
      #define STREAMER_TYPE_AREA (6)


    • Compilen
    • Server Starten




    Häää? Er meint einen anderen Streamer nicht das Audio Plugin :D

    Ganz oben ins Script


    #define Ports 1234


    Unter public OnPlayerCommandText(playerid, cmdtext[])


    if(strcmp(cmd,"/ports",true)==0)
    {
    if(IsPlayerConnected(playerid))
    {
    ShowPlayerDialog(playerid,Ports,DIALOG_STYLE_LIST,"Teleports","BSN\nPier\nBank\nNoob Spawn\nSFPD\nOttos Autohaus\nJizzys\nLS Flughafen\nSF Flughafen\nLV Flugahfen\nArea 51\nStaudamm","Wählen","Abbruch") ;
    }
    return 1;
    }


    Unter OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
    if(dialogid == Ports)
    {
    if(response == 0)
    {
    SendClientMessage(playerid,0x666666FF,"Menu Geschlossen!"); TogglePlayerControllable(playerid, 1); return 1;
    }
    if(response == 1)
    {


    }
    if(listitem == 1)//BSN
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 1216.3286,-879.8282,42.9060); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, 1216.3286,-879.8282,42.9060);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 0)//Pier
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 378.5670,-2032.8651,7.8301); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, 378.5670,-2032.8651,7.8301);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 1)//Bank
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 1460.2048,-1033.6180,23.6563); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, 1460.2048,-1033.6180,23.6563);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 2)//Noob Spawn
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 1777.1829,-1353.6769,15.7555); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, 1777.1829,-1353.6769,15.7555);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 3)// SFPD
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, -1617.4366,662.6572,7.1875); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, -1617.4366,662.6572,7.1875);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 5)//Ottos
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, -1642.0865,1282.3975,7.0391); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, -1642.0865,1282.3975,7.0391);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 6)//Jizzys
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, -2625.8723,1355.6205,7.0845); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, -2625.8723,1355.6205,7.0845);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 7) //LS Flughafen
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 2112.0400,-2427.7976,13.5469); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, 2112.0400,-2427.7976,13.5469);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 8)//SF Flughafen
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, -1210.3981,18.2546,14.1484); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, -1210.3981,18.2546,14.1484);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 9)//LV Flughafen
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 1549.9596,1301.2203,10.8518); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, 1549.9596,1301.2203,10.8518);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 10)//Area 51
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 174.1950,1889.6213,20.5286); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, 174.1950,1889.6213,20.5286);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }
    if(listitem == 11)//Staudamm
    {
    if (GetPlayerState(playerid) == 2){new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, -713.6360,2053.9688,60.1875); LinkVehicleToInterior(tmpcar, 0);
    TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0;}
    else{SetPlayerPos(playerid, -713.6360,2053.9688,60.1875);}
    SendClientMessage(playerid, COLOR_GRAD1, "Du wurdest teleportiert!");
    SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0;
    }


    }


    Kannste ja ändern und löschen die du nicht brauchst

    Da finde ich das besser


    new Float:RandomSpawns[3][3] = {
    {X,Y,Z},
    {X,Y,Z},
    {X,Y,Z}
    };



    new rand;
    rand = random(sizeof(RandomSpawns));
    SetPlayerPos(playerid, RandomSpawns[rand][0], RandomSpawns[rand][1], RandomSpawns[rand][2]);



    Also ohne ein neues Callback