SA-MP Forums Archive
printf PROBLEM ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: printf PROBLEM ! (/showthread.php?tid=446906)



printf PROBLEM ! - sKgaL - 27.06.2013

Thanks,
REP + .


Re: printf PROBLEM ! - Jefff - 27.06.2013

sizeof BuyMenu is 11 but array is from 0-10 so format crash
replace <= in loop to <

and replace
pawn Код:
strins(Show,str,strlen(Show));
to
pawn Код:
strcat(Show,str);
you dont need strins for that