Problem with GetPlayerName
#3

Depends. Is 'pName' an array? If not, set it to an array.

pawn Code:
new pName[MAX_PLAYERS][MAX_PLAYER_NAME];
Also, try making it sizeof(pName) instead of sizeof(pName[playerid2]).
Reply


Messages In This Thread
Problem with GetPlayerName - by Sanady - 20.05.2012, 15:44
Re: Problem with GetPlayerName - by Niko_boy - 20.05.2012, 15:50
Re: Problem with GetPlayerName - by [FMJ]PowerSurge - 20.05.2012, 15:51
Re: Problem with GetPlayerName - by Sanady - 20.05.2012, 16:05
Re: Problem with GetPlayerName - by [FMJ]PowerSurge - 20.05.2012, 16:10
Re: Problem with GetPlayerName - by Niko_boy - 20.05.2012, 16:13
Re: Problem with GetPlayerName - by [FMJ]PowerSurge - 20.05.2012, 16:15
Re: Problem with GetPlayerName - by Vince - 20.05.2012, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)