Suggestion file, Y_Ini.
#3

While declaring 'Suggestion' under the command, declare it as an array, not as an integer. Also, since sscanf2, you've to include the size of the array while passing it with 's' specifier.
pawn Код:
new Suggestion[64];
if(sscanf(params, "s[64]", Suggestion))
I also want to note that you don't have to use 128 as the string size for the path stock. You could count the character limit of the directory and sum up it with 25 (MAX_PLAYER_NAME+1).

Edit: late.
Reply


Messages In This Thread
Suggestion file, Y_Ini. - by HY - 12.12.2014, 15:19
Re: Suggestion file, Y_Ini. - by JeaSon - 12.12.2014, 15:55
Re: Suggestion file, Y_Ini. - by Lordzy - 12.12.2014, 15:55

Forum Jump:


Users browsing this thread: 2 Guest(s)