[Ajuda] Comando /n
#2

PHP код:
CMD:novato(playeridparams[])   
{   
    new 
Texto[128];  
    if(
GetPlayerScore(playerid) > 5) return SendClientMessage(playerid, -1"Vocк nгo й um NOVATO!"); 
    if(
isnull(params)) return SendClientMessage(playerid, -1"Uso correto: /novato [Mensagem]");   
    new 
nome[MAX_PLAYER_NAME];   
    
GetPlayerName(playeridnomesizeof(nome));
    for(new 
iMAX_PLAYERSi++)  
    {  
        if(
IsPlayerConnected(i) && GetPlayerScore(i) < 5)  
        {  
            
format(Texto128"Chat Noob %s nivel[%d]: %s"nomeGetPlayerScore(playerid), params);   
            
SendClientMessage(i,-1Texto);   
        }  
    }  
    return 
true;  

Reply


Messages In This Thread
Comando /n - by Brenopwn - 07.08.2017, 17:57
Re: Comando /n - by IlanZ - 07.08.2017, 18:00
Re: Comando /n - by Brenopwn - 07.08.2017, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)