[Ajuda] Mensagens com strings
#6

PHP код:
public OnPlayerCommandReceived(playeridcmdtext[])
{
    static 
string[76], name_player[24];
    
GetPlayerName(playeridname_playersizeof name_player);

    for(new 
i<= GetPlayerPoolSize(); ++)
    {
        if(
IsPlayerConnected(i) && Player[i][Admin] > 0// Troque "Player[i][Admin]" pela variбvel do seu gamemode
        
{
            
format(stringsizeof string"O player %s digitou o comando %s"name_playercmdtext);
            
SendClientMessage(i, -1string);
        }
    }
    return 
1;

Reply


Messages In This Thread
Mensagens com strings - by GuilhermeNunes - 16.04.2017, 21:26
Re: Mensagens com strings - by AuhMaru - 16.04.2017, 21:35
Re: Mensagens com strings - by GuilhermeNunes - 16.04.2017, 22:07
Re: Mensagens com strings - by WILK3R - 16.04.2017, 22:26
Re: Mensagens com strings - by DarkBr - 16.04.2017, 23:42
Re: Mensagens com strings - by AuhMaru - 17.04.2017, 00:10
Re: Mensagens com strings - by Maxwilson01 - 17.04.2017, 17:03
Re: Mensagens com strings - by vPunisheR - 17.04.2017, 17:07
Re: Mensagens com strings - by Maxwilson01 - 17.04.2017, 17:10

Forum Jump:


Users browsing this thread: 3 Guest(s)