All player spawn
#6

PHP код:
CMD:spawnall(playerid,params[]) {
    
#pragma unused params
    
if(PlayerInfo[playerid][Level] >= 4) {
        
CMDMessageToAdmins(playerid,"SPAWNAll");
           for(new 
0MAX_PLAYERSi++) {
            if(
IsPlayerConnected(i) && (!= playerid) && != ServerInfo[MaxAdminLevel]) {
                
PlayerPlaySound(i,1057,0.0,0.0,0.0); SetPlayerPos(i0.00.00.0); SpawnPlayer(i);
            }
        }
        new 
string[128]; format(string,sizeof(string),"Administrator \"%s\" has spawned all players"pName(playerid) );
        return 
SendClientMessageToAll(bluestring);
    } else return 
SendClientMessage(playerid,red,"ERROR: You need to be level 4 to use this command");

Reply


Messages In This Thread
All player spawn - by DexXxo - 22.09.2012, 23:20
Re: All player spawn - by N0FeaR - 22.09.2012, 23:34
AW: All player spawn - by DexXxo - 22.09.2012, 23:39
Re: AW: All player spawn - by N0FeaR - 22.09.2012, 23:44
AW: All player spawn - by DexXxo - 22.09.2012, 23:47
Re: All player spawn - by ThePhenix - 22.09.2012, 23:51
AW: All player spawn - by DexXxo - 22.09.2012, 23:53
Re: All player spawn - by ThePhenix - 22.09.2012, 23:55
AW: All player spawn - by DexXxo - 22.09.2012, 23:58
AW: Re: All player spawn - by DexXxo - 23.09.2012, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)