[Ajuda] bloqueando comando.
#6

PHP код:
CMD:setvida(playeridparams[]) 

    new 
id,Float:quantidade,string[128]; 
    if(!
IsPlayerAdmin(playerid)) return SCM(playeridCOR_BRANCO"Sem permissгo"); 
    if(
sscanf(params"uf",id,quantidade)) return SCM(playeridCOR_BRANCO"/setvida <id>"); 
    
SetPlayerHealth(idquantidade); 
    
format(stringsizeof(string), "%s setou vida para %f"getPName(playerid), quantidade); 
    
SCM(id,-1,string); 
    return 
1

Reply


Messages In This Thread
bloqueando comando. - by Warlley - 17.06.2017, 02:19
Re: bloqueando comando. - by GuilhermeNunes - 17.06.2017, 02:28
Re: bloqueando comando. - by Warlley - 17.06.2017, 02:30
Re: bloqueando comando. - by GuilhermeNunes - 17.06.2017, 02:32
Re: bloqueando comando. - by GuilhermeNunes - 17.06.2017, 02:37
Re: bloqueando comando. - by IlanZ - 17.06.2017, 02:39

Forum Jump:


Users browsing this thread: 2 Guest(s)