16.08.2011, 22:26
What we do wrong?
undefinied symbol pname...
undefinied symbol pname...
Код:
public OnPlayerConnect(playerid) { format(string, sizeof(string), "%s (ID: %d) has joined the server!", playerid, Pname); SendClientMessageToAll(-1, string); SendDeathMessage(INVALID_PLAYER_ID, playerid, 200); return 1; }
Код:
stock PlayerName(playerid) { new Pname[24]; GetPlayerName(playerid, Pname, 24); return Pname; }