Little Problem [+REP]
#8

No i set look here the command

pawn Код:
CMD:cs(playerid, params[])
{
    new Float:gRandomPlayerSpawnsCS[5][0] =
    {
        {261.4781,3387.1755,127.5184},
        {267.6548,3341.4377,127.5184},
        {282.1428,3297.3818,132.4135},
        {215.6659,3296.2063,132.4135},
        {178.8598,3353.6843,136.3376}
       
    };
    new rand = random(sizeof(gRandomPlayerSpawnsCS));
    SetPlayerPos(playerid, gRandomPlayerSpawnsCS[rand][0], gRandomPlayerSpawnsCS[rand][1], gRandomPlayerSpawnsCS[rand][2]); // Warp the player
    ResetPlayerWeapons(playerid);
    SetPlayerVirtualWorld(playerid, 5);
    PlayerInDM[playerid][CS] = 1;
    SetPlayerVirtualWorld(playerid, 2);
    SetPVarInt(playerid, "PlayerInDM", 1);
    SendTeleport(playerid, "Car Sumo", "cs");
    SetPlayerHealth(playerid, 100);
    SendClientMessage(playerid, COLOR_ORANGE, "Welcome to {FF0000}Car Sumo");
    TogglePlayerControllable(playerid, false);
    SetTimerEx("PutInCS", 4000, false, "i", playerid);
    GameTextForPlayer(playerid, "~R~Please wait...", 4000, 1);
    return 1;
}
Reply


Messages In This Thread
Little Problem [+REP] - by Ady_Ro - 23.03.2014, 13:52
Re: Little Problem [+REP] - by Konstantinos - 23.03.2014, 13:55
Re: Little Problem [+REP] - by Sgt.TheDarkness - 23.03.2014, 13:55
Re: Little Problem [+REP] - by Ady_Ro - 23.03.2014, 14:02
Re: Little Problem [+REP] - by Konstantinos - 23.03.2014, 14:10
Re: Little Problem [+REP] - by Ady_Ro - 23.03.2014, 16:18
Re: Little Problem [+REP] - by Konstantinos - 23.03.2014, 16:52
Re: Little Problem [+REP] - by Ady_Ro - 23.03.2014, 16:54
Re: Little Problem [+REP] - by Konstantinos - 23.03.2014, 17:02
Re: Little Problem [+REP] - by Ady_Ro - 23.03.2014, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)