21.09.2013, 13:03
How to create message to send to all admins when someone join the server like - Name of the players has joined the server IP:
If you can please help me
If you can please help me

public OnPlayerConnect(playerid)
{
new name, nam[128];
GetPlayerName(playerid, name, sizeof(name));
format(nam, sizeof(nam), "%s has joined the server!", name);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(PlayerInfo[i][Admin] >=1) SendClientMessage(i, -1, nam);
}
return 1;
}