10.07.2011, 05:03
Here is the code
if(gPlayerAccount[playerid] == 1)
{
new string[128];
new PID, pName[MAX_PLAYER_NAME];// fuck, you dont have lots of newer shit defined
GetPlayerName(PID, pName, sizeof(pName));
format(string, sizeof(string), "%s has joined the server", PID);
SendClientMessageToAll(COLOR_GRAD2, string);
but when someone joins server it says has joined server not name please help
if(gPlayerAccount[playerid] == 1)
{
new string[128];
new PID, pName[MAX_PLAYER_NAME];// fuck, you dont have lots of newer shit defined
GetPlayerName(PID, pName, sizeof(pName));
format(string, sizeof(string), "%s has joined the server", PID);
SendClientMessageToAll(COLOR_GRAD2, string);
but when someone joins server it says has joined server not name please help