SA-MP Forums Archive
Help some problem here - 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 some problem here (/showthread.php?tid=368052)



Help some problem here - SupaVZ - 12.08.2012

Hello, i need some help over here.. as i am trying to create a new road block and this system telling me this.

\TEst server\gamemodes\FSRP.pwn(85939) : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(85952) : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(85965) : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(85979) : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(85992) : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(86005) : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(8601 : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(86031) : error 017: undefined symbol "CreateRoadblock"
\TEst server\gamemodes\FSRP.pwn(86044) : error 017: undefined symbol "CreateRoadblock"


can you help me to fix it please.


Re: Help some problem here - Forge - 12.08.2012

It's telling you it's undefined, so define it. And 85k lines, holy... that must be one heck of a script.

To define something use new. In this case,
Код:
new CreateRoadBlock;