SA-MP Forums Archive
Help with errors - 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)
+--- Thread: Help with errors (/showthread.php?tid=285985)



Help with errors - Swizzzy - 26.09.2011

Well i just attempted to compile this script, I got some errors which i cannot fix and was wondering if anyone had the decency to help me with this.

If someone helps me, I'll be hugely great-full..

Also if you need to see the script, Please add my MSN Address : gunnerboii09@live.co.uk


ERRORS
Код:
C:\Users\Parent\Desktop\GSP-RP\gamemodes\penls.pwn(7330) : error 021: symbol already defined: "strtok"
C:\Users\Parent\Desktop\GSP-RP\gamemodes\penls.pwn(7345) : error 047: array sizes do not match, or destination array is too small
C:\Users\Parent\Desktop\GSP-RP\gamemodes\penls.pwn(41867) : warning 203: symbol is never used: "PRIVATE_Last_Money"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Help with errors - aRoach - 26.09.2011

1. You have 2 of stock strtok, just delete One !
2. Give us the Line 7345 with his Variable
3. Delete PRIVATE_Last_Money Variable or Define...


Re: Help with errors - MP2 - 26.09.2011

Remove

new PRIVATE_lastmoneywhatever

Remove the sterol function from your script, it's likely in an include.