SA-MP Forums Archive
[Smail]Help - 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: [Smail]Help (/showthread.php?tid=554247)



[Smail]Help - sas10 - 02.01.2015

Hello Guys
i Have Errors in my Script
Quote:

(1 : error 010: invalid function or declaration

line 18
PHP Code:
boolSexShopRobbed



AW: [Smail]Help - CutX - 02.01.2015

Quote:
Originally Posted by sas10
View Post
Hello Guys
i Have Errors in my Script

line 18
PHP Code:
boolSexShopRobbed
error 10:
meaning that the code you posted couldn't be interpreted by the compiler.
to put it simple, pawn has nooooo idea what you did there and why

in pawn, we declare variables using the "new" keyword
it'd look like this:
pawn Code:
new bool:SexShopRobbed;