[Ajuda] Comando
#2

pawn Код:
COMMAND:rc(playerid, params[])
{
    SendAdminText(playerid, "/rc", params);
    if (APlayerData[playerid][LoggedIn] == true)
    {
    if (APlayerData[playerid][PlayerLevel] >= 5)
    {
    SendClientMessageToAll(0x00FF00FF, "Todos os veнculos foram resetados pelo admin");
    for(new i=0; i<MAX_VEHICLES; i++)
    {
    {
    if(!IsPlayerInAnyVehicle(i))
    {
        SetVehicleToRespawn(i);
    }
    }
    }
    else return 0;
    }
    else return 0;
    return 1;
}
Reply


Messages In This Thread
Comando - by gefe - 19.07.2013, 11:36
Respuesta: Comando - by Parka - 19.07.2013, 11:47
Respuesta: Comando - by gefe - 19.07.2013, 11:55

Forum Jump:


Users browsing this thread: 1 Guest(s)