SA-MP Forums Archive
help. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help. (/showthread.php?tid=133700)



help. - [SF]RobMob - 13.03.2010

can you change new tmp[256], tmp2[256], ive tryed and i get the error below


C:\Users\robmob\Desktop\samps finest\gamemodes\NextBigThing.pwn(3954) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: help. - XRVX - 13.03.2010

Try maybe

Код:
new tmp[512], tmp2[512];



Re: help. - Desert - 13.03.2010

What did you change them to? 128?


Re: help. - [SF]RobMob - 13.03.2010

Sorry yes im trying to make them all 128 (reason is i have a 12000 line custome gm coded by my but with 0 players on server ffs it runs 10%cpu could this be a fix if not what else can I look for


Re: help. - BLAbla93 - 05.04.2010

use sccanf and smaller strings