Dutils errors what to do?
#1

pawn Код:
C:\Users\Maarten\Desktop\Los Santos Turf War\pawno\include\dutils.inc(28) : error 021: symbol already defined: "isNumeric"
C:\Users\Maarten\Desktop\Los Santos Turf War\pawno\include\dutils.inc(379) : error 025: function heading differs from prototype
C:\Users\Maarten\Desktop\Los Santos Turf War\pawno\include\dutils.inc(380) : error 021: symbol already defined: "strtok"
C:\Users\Maarten\Desktop\Los Santos Turf War\pawno\include\dutils.inc(395) : error 047: array sizes do not match, or destination array is too small
what can i do?
Reply
#2

Okay this means that you have "isNumeric stock and "strtok" somewhere in you're gamemode/filterscript, as well as in the include dutils.inc. Go in you're gamemode/filterscript and find isNumeric and exclude it from the gamemode/filterscript by putting this /* at the beginning of the script and */ at the end and it will make it green, and wont use it in the script.

Do the sme thing for "strtok" in the gamemode/filterscipr, and then compile. If you still have these errors please try re-downloading the Dutils.inc and redistributing it throughout you're server files. I fyou still have the issue post back here. Thank you for the question but im pretty sure that is what this means. Here is an explanation..

Код:
/*stock IsNumeric(string[]) { for (new i = 0, j = strlen(string); i < j; i++) if (string[i] > '9' || string[i] < '0') return 0; return 1; }*/
the things at the beginning and end of it are what exclude it from the gamemode when it loads.

You must do the same thing to "strtok" as well. Hopefully this fixes you're problem!
Reply
#3

it worked thanx !
Reply
#4

No problem, glad i could help you. If you need anything out you can just PM me, im fairly friendly if you ask me. (; Have a nice day myandyou.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)