05.07.2011, 20:19
I don't understand one thing: Why are you using 2 times
?
Use this one:
pawn Код:
new name[MAX_PLAYER_NAME], string[44];
GetPlayerName(playerid,name,sizeof(name));
Use this one:
PHP код:
public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME] = GetPlayerName(playerid,name,sizeof(name));
return 1;
}