SA-MP Forums Archive
Strange error in Pawno - 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: Strange error in Pawno (/showthread.php?tid=173524)



Strange error in Pawno - Alphos - 02.09.2010

Hi,

Everytime I press F5 when I have COD5.pwn opened, it gives three errors:



Anybody knows how to fix this?


Re: Strange error in Pawno - LarzI - 02.09.2010

Remove the definition of strtok in COD5.pwn and same with isNumeric.
Show us line 90 (second error)


Re: Strange error in Pawno - Dime - 02.09.2010

post that lines where are errors.


Re: Strange error in Pawno - Alphos - 03.09.2010

I hope those are the lines you are talking about:








Re: Strange error in Pawno - Voldemort - 03.09.2010

At "Moonbeam" add this ' , '


EDIT: You have these bugs in *.inc ?


Re: Strange error in Pawno - Alphos - 03.09.2010

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
At "Moonbeam" add this ' , '


EDIT: You have these bugs in *.inc ?
No, in COD5.pwn, but it still gives the same error when I put , instead of Moonbeam.

And I also found this:



I don't really know how to script, trying to find out a bit, but this above might be related to those errors.


Re: Strange error in Pawno - Voldemort - 03.09.2010

Open with any text editor, or pawno

C:\Users\Jesse\Desktop\Pawno\include\gl_common.inc

and fix the errors, dont compile just save.


These /* */ means that this part is commented and isnt in use, if you understand what here is than uncomment and use it


Re: Strange error in Pawno - Alphos - 03.09.2010

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
Open with any text editor, or pawno

C:\Users\Jesse\Desktop\Pawno\include\gl_common.inc

and fix the errors, dont compile just save.


These /* */ means that this part is commented and isnt in use, if you understand what here is than uncomment and use it
What kind of errors should I fix? How am I suppose to find those erorrs? I can access the gl_Common.inc file, but I can't find the errors >.>


Re: Strange error in Pawno - Voldemort - 03.09.2010

You have errors in include file, delete from include file isnumeric and strtok both I guess is stock ....

if you can't understand attach RARed gl_common file and for use Attach file button from forum pls.

I will fix it and send back to you


Re: Strange error in Pawno - Alphos - 03.09.2010

Attached.