sa-mp server R8 made me mad
#1

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
Reply
#2

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];
Reply
#3

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.
Reply
#4

http://pastebin.com/u2RLHzAi is the script
Reply
#5

bump please
Reply
#6

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)