respawn command
#5

PHP код:
CMD:respawnplayers(playeridparams[])
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerPos(playeridxyz);//get pos of the player doing the cmd

    
for(new iGetPlayerPoolSize(); <= ji++)//loop through all players
    
{
        if(
IsPlayerInRangeOfPoint(i10.0xyz) && != playerid)//check if any player is in range of the player who did the command and that player is not the command issuer.
        
{
            
SpawnPlayer(i);//spawn him
//etc code 
Reply


Messages In This Thread
respawn command - by ivndosos - 15.02.2018, 10:00
Re: respawn command - by RogueDrifter - 15.02.2018, 10:03
Re: respawn command - by PepsiCola23 - 15.02.2018, 10:35
Re: respawn command - by ivndosos - 15.02.2018, 10:49
Re: respawn command - by RogueDrifter - 15.02.2018, 10:57
Re: respawn command - by ivndosos - 15.02.2018, 11:06
Re: respawn command - by Mugala - 15.02.2018, 11:13
Re: respawn command - by ivndosos - 19.02.2018, 19:43
Re: respawn command - by ivndosos - 09.03.2018, 06:16
Re: respawn command - by KayJ - 09.03.2018, 06:22

Forum Jump:


Users browsing this thread: 1 Guest(s)