25.01.2017, 15:02
Where did you put those codes ?
and try these if works or nop
Edit: or use this one, should work
and try these if works or nop
Код:
new string[128], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof(string)," %s has joined the server",pName); SendClientMessageToAll(-1,string);
Код:
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++) { new string[128],pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof(string),"%s has joined to the server",pName); SendClientMessage(i,-1,string); }