16.05.2010, 23:49
How i can make connect message like this
DarkPower ID: [ 0 ] has joined on server.
can you help me?
DarkPower ID: [ 0 ] has joined on server.
can you help me?
public OnPlayerConnect(playerid)
{
new
pname[MAX_PLAYER_NAME],
string[51];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s [ %d ] has joined the server", pname, playerid); // playerid and %d
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}