SA-MP Forums Archive
undefined symbol "NOPCheck" - 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: undefined symbol "NOPCheck" (/showthread.php?tid=454285)



undefined symbol "NOPCheck" - ngumcutoi1999 - 28.07.2013

Код:
(3723) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
(5253) : error 017: undefined symbol "NOPCheck"
(5830) : error 017: undefined symbol "NOPCheck"
(5846) : error 017: undefined symbol "NOPCheck"
(5859) : error 017: undefined symbol "NOPCheck"
(5873) : error 017: undefined symbol "NOPCheck"
(5884) : error 017: undefined symbol "NOPCheck"
(5898) : error 017: undefined symbol "NOPCheck"
(5961) : error 017: undefined symbol "NOPCheck"
(5976) : error 017: undefined symbol "NOPCheck"
(5991) : error 017: undefined symbol "NOPCheck"
(6006) : error 017: undefined symbol "NOPCheck"
(6021) : error 017: undefined symbol "NOPCheck"
(6036) : error 017: undefined symbol "NOPCheck"
(6051) : error 017: undefined symbol "NOPCheck"
(6066) : error 017: undefined symbol "NOPCheck"
(6081) : error 017: undefined symbol "NOPCheck"
(6096) : error 017: undefined symbol "NOPCheck"
(6111) : error 017: undefined symbol "NOPCheck"
(6126) : error 017: undefined symbol "NOPCheck"
(6141) : error 017: undefined symbol "NOPCheck"
(6171) : error 017: undefined symbol "NOPCheck"
(6182) : error 017: undefined symbol "NOPCheck"
(6201) : error 017: undefined symbol "NOPCheck"
(6230) : error 017: undefined symbol "NOPCheck"
(6242) : error 017: undefined symbol "NOPCheck"
(6266) : error 017: undefined symbol "IsPlayerInRangeOfVehicle"
Help me please !


Re: undefined symbol "NOPCheck" - Donvalley - 28.07.2013

add:

pawn Код:
new NOPCheck
to top of your script


Re: undefined symbol "NOPCheck" - Konstantinos - 28.07.2013

I assume NOPCheck is a custom function that you do NOT have to your script. Look from where you got the code for it. IsPlayerInRangeOfVehicle as well. For the first one:

pawn Код:
forward Audio_OnSetPack(audiopack[])
But the include file had to do this itself. Are even the latest versions or they're old?


Re: undefined symbol "NOPCheck" - ToiletDuck - 28.07.2013

you forgot to close 1 bracket on of your script. Correct me if im wrong


Re: undefined symbol "NOPCheck" - Donvalley - 28.07.2013

post your script and we will see if you missed a bracket


Re: undefined symbol "NOPCheck" - ngumcutoi1999 - 28.07.2013

Quote:
Originally Posted by Donvalley
Посмотреть сообщение
add:

pawn Код:
new NOPCheck
to top of your script
Код:
(5255) : error 012: invalid function call, not a valid address
(5255) : warning 215: expression has no effect
(5255) : error 001: expected token: ";", but found ")"
(5255) : error 029: invalid expression, assumed zero
(5255) : fatal error 107: too many error messages on one line



Re: undefined symbol "NOPCheck" - Ley - 28.07.2013

Quote:
Originally Posted by ngumcutoi1999
Посмотреть сообщение
Код:
(5255) : error 012: invalid function call, not a valid address
(5255) : warning 215: expression has no effect
(5255) : error 001: expected token: ";", but found ")"
(5255) : error 029: invalid expression, assumed zero
(5255) : fatal error 107: too many error messages on one line
PHP код:
new NOPCheck//He forgot a semicolon. 
Put this definition at the top of your game mode.


Re: undefined symbol "NOPCheck" - ngumcutoi1999 - 28.07.2013

Quote:
Originally Posted by Ley
Посмотреть сообщение
PHP код:
new NOPCheck//He forgot a semicolon. 
Put this definition at the top of your game mode.
I added


Re: undefined symbol "NOPCheck" - Donvalley - 28.07.2013

opps my bad lol thanks Ley :P


Re: undefined symbol "NOPCheck" - ngumcutoi1999 - 28.07.2013

I added it to my Script