23.12.2013, 14:56
Quote:
If you want to keep using the custom function to gather names, you could use:
pawn Code:
|
pawn Code:
new playersName[MAX_PLAYERS][MAX_PLAYER_NAME];
public OnPlayerDisconnect(playerid)
{
GetPlayerName(playerid, playersName[playerid], MAX_PLAYER_NAME);
return 1;
}
GetPlayersName(playerid)
{
return playersName[playerid];
}
I already tried that.. But It gave me a mistag warning and still working on it..so maybe thats why ?