[AJUDA] Spawn
#4

Tente ae!
pawn Код:
new Float:GmrX[MAX_PLAYERS], Float:GmrY[MAX_PLAYERS], Float:GmrZ[MAX_PLAYERS], DadoGmr[MAX_PLAYERS];//Topo GM

dcmd_gmr(playerid, params[])
{
    #pragma unused params
     if(Player[playerid][pAdmin] <7)
         return SendClientMessage(playerid, COLOR_RED, "[ERRO] Vocк nгo tem permissгo para usar este comando!");

    for(new i=0; i<MAX_PLAYERS;i++)
    {
        WantedPoints[i] = 0;
        PlayerTied[i] = 0;
        Player[i][pCrimes2] = 0;
        DadoGmr[i] = 1;
        GetPlayerPos(i, GmrX[i], GmrY[i], GmrZ[i]);
    }
    Writelog("Backup", "\n----Backup Iniciado----");
    GameTextForAll("~g~Rei~y~nic~b~iand~w~do ~w~Se~b~rv~y~id~g~or", 13000,0);
    UpdatePlayerPosition();
    GameModeExit();
    return 1;
}

//SetPlayerSpawn

if(DadoGmr[playerid] == 1)
{
    SafeSetPlayerPos(playerid, GmrX[playerid], GmrY[playerid], GmrZ[playerid]);
    DadoGmr[playerid] = 0;
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Spawn - by viniciusstreet - 29.02.2012, 18:25
Re: [AJUDA] Spawn - by viniciusstreet - 29.02.2012, 20:00
Re: [AJUDA] Spawn - by viniciusstreet - 01.03.2012, 19:29
Re: [AJUDA] Spawn - by paulor - 01.03.2012, 19:40
Re: [AJUDA] Spawn - by DarkScripter - 01.03.2012, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)