SA-MP Forums Archive
Pawno bug? - 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: Pawno bug? (/showthread.php?tid=362328)



Pawno bug? - Littlehelper - 24.07.2012

Hello,
I'm experiencing a different problem.
whenever i post something like
pawn Код:
new Text:a =    Text....Create(....);
it crashes my pawn.
Not only this, i tested it with many other it only crashes when i add = (Creating Process Here)...
Anyone can help me with this one?


Re: Pawno bug? - ReneG - 24.07.2012

Pawn natives cannot be called outside any callbacks, functions. Insta-crashes the compiler.


Re: Pawno bug? - Littlehelper - 24.07.2012

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
Pawn natives cannot be called outside any callbacks, functions. Insta-crashes the compiler.
I see.
Thanks.


Re: Pawno bug? - Littlehelper - 24.07.2012

Quote:
Originally Posted by ******
Посмотреть сообщение
And you can't have dots in function names like that unless you have defined 'Text' as a macro.
Actually, that was just an example.