View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-04-2016 , 07:05   Re: Natives can return arrays in PAWN!
Reply With Quote #5

Quote:
Originally Posted by ddhoward View Post
Look at the very first line of cmdName().

new playerName[32];

should be

new playerName[NAME_LENGTH];
Oh right, thank you both for noticing. I have no idea how did I miss that, I was certain I defined it with size of NAME_LENGTH. Will fix when I get to my PC, I'm on my phone now.
klippy is offline