[Ajuda] /contratos
#3

Quote:
Originally Posted by Luiiiz
Посмотреть сообщение
PHP код:
CMD:contratos(playerid)
{
    new 
count 0iname[MAX_PLAYER_NAME], string[128];
    if(
Hitman[playerid] == 0)
        return 
SendClientMessage(playerid, -1"Vocк nгo й um Hitman/Assassins.");
    for(new 
iMAX_PLAYERSi++)
    {
        if(
Contratado[i] == && IsPlayerConnected(i))
        {
            
GetPlayerName(iinameMAX_PLAYER_NAME);
            
count++;
            
SendClientMessage(playerid, -1"Contratos abertos:");
            
format(stringsizeof(string), "%s[%d]"inamei);
            
SendClientMessage(playerid, -1string);
        }
    }
    if(
count == 0)
        return 
SendClientMessage(playerid, -1"Nгo hб contratados online.");
    return 
1;

Nгo testei.
Nгo funfo
Reply


Messages In This Thread
/contratos - by BrunoSayden177 - 14.12.2018, 20:29
Re: /contratos - by Luiiiz - 14.12.2018, 20:41
Re: /contratos - by BrunoSayden177 - 14.12.2018, 20:51
Re: /contratos - by 1sbedx - 14.12.2018, 21:34
Re: /contratos - by JamesDias - 14.12.2018, 21:36
Re: /contratos - by BrunoSayden177 - 14.12.2018, 22:55

Forum Jump:


Users browsing this thread: 1 Guest(s)