[Ajuda] Comando De Vidat Facзгo
#3

PHP код:
CMD:vidat(playerid)
{
    new 
string[128], Nome[MAX_PLAYER_NAME];
    if(
Player[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1"[ERRO]: Vocк nгo tem permissгo");//Aqui sua variavel de quem pode usar o comando
     
for(new 0<= MAX_PLAYERSi++)
     {
        if(
GetDistanceBetweenPlayers(playeridi) <= 50)
        if(
GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i))
        {
            
SetPlayerHealth(i100);
            
format(stringsizeof(string), "%s deu vida para todos perto dele."Nome);
            
SendClientMessageToAll(-1string);
        }
    }
    return 
1;

Reply


Messages In This Thread
Comando De Vidat Facзгo - by JuniorVintedoisGR - 13.09.2017, 17:37
Re: Comando De Vidat Facзгo - by fxckshzt - 13.09.2017, 17:38
Re: Comando De Vidat Facзгo - by DelK - 13.09.2017, 17:51
Re: Comando De Vidat Facзгo - by fxckshzt - 13.09.2017, 18:03
Re: Comando De Vidat Facзгo - by DelK - 13.09.2017, 18:19
Re: Comando De Vidat Facзгo - by fxckshzt - 13.09.2017, 18:35

Forum Jump:


Users browsing this thread: 1 Guest(s)