View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-03-2016 , 18:56   Re: Natives can return arrays in PAWN!
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
I don't think it is wise to introduce something like this into AMX Mod X. It will just make it more complicated for people to learn how to write plugins especially if they are not programmers by trade. Basically, it adds unneeded complexity to the syntax.
Never really wanted this to be introduced to AMXX. This thread's primary purpose is just to be a source of information. I couldn't find how to implement this searching all over Google, not just AlliedModders and AMXX. Someone might find this useful someday. I can see its use with "enum structures".

Quote:
Originally Posted by fysiks View Post
Also, you would need to make sure that you size "playerName" with NAME_LENGTH instead of hardcoding it to 32.
Didn't really understand what you meant by that, because NAME_LENGTH is actually 32 in the code I posted.
klippy is offline