ERROR!!!!!!
#5

Код:
CMD:respawnall(playerid,params[])
{
// Check if the player has logged in
    if (APlayerData[playerid][LoggedIn] == true) {
        if(APlayerData[playerid][PlayerLevel] >= 3) {
            for(new vid = 1; vid <= 1999; vid++) {
                if(IsVehicleEmpty(vid)) SetVehicleToRespawn(vid);
            }
            return SendClientMessageToAll(0x00FF00FF, "All empty vehicles have been respawned by server staff");
        }
        return SendClientMessageToAll(0x00FF00FF, "You are not a high enough player level to use this command");
    }
    return SendClientMessageToAll(0x00FF00FF, "You must be logged in to use this command");
}
Try that.
Reply


Messages In This Thread
ERROR!!!!!! - by shoaib_sait - 27.01.2013, 16:16
Re: ERROR!!!!!! - by Mr.Anonymous - 27.01.2013, 16:23
Re: ERROR!!!!!! - by SchurmanCQC - 27.01.2013, 16:26
Re: ERROR!!!!!! - by CJay9209 - 27.01.2013, 16:42
AW: ERROR!!!!!! - by Blackazur - 27.01.2013, 16:43
Re: ERROR!!!!!! - by CJay9209 - 27.01.2013, 16:56
Re: ERROR!!!!!! - by shoaib_sait - 28.01.2013, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)