SA-MP Forums Archive
help 2 erros I don't know why :/ - 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 2 erros I don't know why :/ (/showthread.php?tid=248466)



help 2 erros I don't know why :/ - sasuga - 14.04.2011

hello everybody, I was editing a GangSystem to delate the things I dont need and I have some problems, I upload the file to pastebin:

http://pastebin.com/J5FMTksG

And these are the errors

Код:
C:\Users\...\...\Advance Dynamic Dialog Gang System by Crime life Team\filterscripts\gang.pwn(804) : error 021: symbol already defined: "strtok"
C:\Users\...\....\Advance Dynamic Dialog Gang System by Crime life Team\filterscripts\gang.pwn(819) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
help plz I don't know how to fix them :/


Re: help 2 erros I don't know why :/ - Scenario - 14.04.2011

You already have "strtock" somewhere in your script. Go to line 804 and take out the "strtock" function there; both errors should go away. Learn to search next time.

By the way; you should be using sscanf.

Quote:

This forum requires that you wait 120 seconds between posts. Please try again in 46 seconds.

Oh, what the fuck is that shit?