16.11.2012, 16:24
How can i make that when a Guy logged in, that a Message in the Chat come like "Player X has just logged in"?
public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s has connected to the server!", name);
SendClientMessageToAll(-1, string);
return 1;
}