SA-MP Forums Archive
sa-mp server R8 made me mad - 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: sa-mp server R8 made me mad (/showthread.php?tid=159944)



sa-mp server R8 made me mad - tanush - 15.07.2010

i was scripting while i have R7 samp server and when i got R8 i got this

Код:
C:\Users\user\Desktop\Server\pawno\include\dutils.inc(418) : error 021: symbol already defined: "strtok"
C:\Users\user\Desktop\Server\pawno\include\dutils.inc(433) : error 047: array sizes do not match, or destination array is too small



Re: sa-mp server R8 made me mad - DJDhan - 15.07.2010

For your first error, you must have defined strtok where you have the error because dutils.inc also must be having it. So delete one of them.

Second error means you need to declare a bigger array cell size.

If this:
Код:
new tmp[28];
gives an error.

Use :

Код:
new tmp[128];



Re: sa-mp server R8 made me mad - [HiC]TheKiller - 15.07.2010

Redownload dutils.inc and add this to your script

pawn Код:
#pragma unused strtok
If you still get the other error change the variable size on line 433 in dutlis to higher.


Re: sa-mp server R8 made me mad - tanush - 15.07.2010

http://pastebin.com/u2RLHzAi is the script


Re: sa-mp server R8 made me mad - tanush - 15.07.2010

bump please


Re: sa-mp server R8 made me mad - MadeMan - 15.07.2010

Problem is in dutils.inc not the script. Do you have many strtok functions there?


Re: sa-mp server R8 made me mad - tanush - 15.07.2010

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
Problem is in dutils.inc not the script. Do you have many strtok functions there?
thanks friend, i saw i had Strtok 2times so i removed one and its working, thanks guys for the help