28.06.2016, 19:24
(
Last edited by iKarim; 29/06/2016 at 06:14 AM.
)
PHP Code:
new pName[MAX_PLAYERS][MAX_PLAYER_NAME]; // global array
// OnPlayerConnect
GetPlayerName(playerid, pName[playerid], MAX_PLAYER_NAME);
// Anywhere in the script
... pName[playerid]
PHP Code:
// anywhere in the script
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
... pName