Problem with COS? - 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: Problem with COS? (
/showthread.php?tid=253621)
Problem with COS? -
ellyx - 07.05.2011
Hello all. I found some great Ownership system but i Have problems..
I using this FS:
https://sampforum.blast.hk/showthread.php?pid=1174711#pid1174711
But When I compiled i have this errors:
Код:
C:\Users\Ismet\Desktop\FILTERSCRIPTS\dealership.pwn(1180) : error 021: symbol already defined: "strtok"
C:\Users\Ismet\Desktop\FILTERSCRIPTS\dealership.pwn(1195) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ismet\Desktop\FILTERSCRIPTS\dealership.pwn(1201) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ismet\Desktop\FILTERSCRIPTS\dealership.pwn(1234) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ismet\Desktop\FILTERSCRIPTS\dealership.pwn(1383) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
I try to delete this STRTOK in Filterscript, but when I go ingame, every command write:You dont own any car, every command.
Please, somebody HELP ME..
Re: Problem with COS? -
Seven_of_Nine - 07.05.2011
Increase of the size of those variables.
For example: you have new test[10]; but something want to return a trollvalue[30]; into that var, you will get an error because test[10] is too small.
Re: Problem with COS? -
ellyx - 07.05.2011
Quote:
Originally Posted by Seven_of_Nine
Increase of the size of those variables.
For example: you have new test[10]; but something want to return a trollvalue[30]; into that var, you will get an error because test[10] is too small.
|
Thanx you for help, but I dont understant clearly, can you help me here is a script uploaded, and to repair this for me please?
http://solidfiles.com/d/1476/
Re: Problem with COS? -
ellyx - 07.05.2011
Any to helpp me?
Re: Problem with COS? -
ellyx - 07.05.2011
Refresh..
Re: Problem with COS? -
MadeMan - 07.05.2011
1. Open dutils.inc (..\pawno\include\dutils.inc)
2. Find strtok function
3. Change
to
4. Save dutils.inc
5. Try to compile script
Re: Problem with COS? -
ellyx - 07.05.2011
Thanks you man, I remove stroke now from COS and IT WORKS, THANKS YOU