28.09.2010, 22:21
Bom eu estou precisando que alguem me ajuda a colocar para aparecer no chat quando player conectar, Ex: tal player entrou no server. E ao desconctar EX: tal player saiu do server, quem poder ajuda eu agredeзo muito
new string[128];
new nomeentrou[MAX_PLAYER_NAME];
GetPlayerName(playerid,nomeentrou,MAX_PLAYER_NAME);
format(string,sizeof string,"%s entrou no servidor.",nomeentrou);
SendClientMessageToAll(COR,string);
new string[128];
new nomesaiu[MAX_PLAYER_NAME];
GetPlayerName(playerid,nomesaiu,MAX_PLAYER_NAME);
format(string,sizeof string,"%s saiu do servidor.",nomesaiu);
SendClientMessageToAll(COR,string);
new string[56];
new PlayerName[128];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "- %s entrou no servidor.", PlayerName);
SendClientMessageToAll(0xFF0000AA, string);
new string[56];
new PlayerName[128];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "- %s saiu do servidor.", PlayerName);
SendClientMessageToAll(0xFF0000AA, string);