GameMode problem
#2

Which commands doesn't work ? All of your commands is working. (I tested all of your commands).
Just added GetName and changed your loop from SendAdminMessage
PHP код:
stock SendAdminMessage(const color, const message[])
{
    for(new 
0MAX_PLAYERSi++)
    {
        if(!
IsPlayerConnected(i)) continue;
        
printf("Player %i <pAdmin: %i>"iPlayer[i][pAdmin]);
        if(
Player[i][pAdmin] >= 4)
        {
            
printf("Found player %i, sending message"i);
            
SendClientMessage(icolormessage);
        }
    }
    return 
1;
}
stock GetName(playerid)
{
    new 
name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnamesizeof(name));
    return 
name;

NB : Delete your IP adress in the server_log:
PHP код:
[22:22:16] [connectionincoming connectionxxx.xxx.x.x:xxxxx id0
[22:22:17] [joinJXF has joined the server (0:xxx.xxx.x.x
Reply


Messages In This Thread
GameMode problem - by JXF - 26.05.2016, 21:25
Re: GameMode problem - by Dayrion - 26.05.2016, 23:19
Re: GameMode problem - by Sew_Sumi - 27.05.2016, 00:39
Re: GameMode problem - by SyS - 27.05.2016, 00:43
Re: GameMode problem - by JXF - 27.05.2016, 10:16
Re: GameMode problem - by Infinity - 27.05.2016, 10:19

Forum Jump:


Users browsing this thread: 2 Guest(s)