SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 28/07/2013, 11:56 AM   #1
ngumcutoi1999
Big Clucker
 
Join Date: Dec 2012
Location: Viet Nam
Posts: 69
Reputation: -3
Question undefined symbol "NOPCheck"

Code:
(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 !
ngumcutoi1999 is offline   Reply With Quote
Old 28/07/2013, 11:58 AM   #2
Donvalley
Huge Clucker
 
Donvalley's Avatar
 
Join Date: Jul 2007
Location: Australia
Posts: 411
Reputation: 26
Default Re: undefined symbol "NOPCheck"

add:

pawn Code:
new NOPCheck

to top of your script
__________________


I am not a Master Scripter. But if you have a problem i will happily try my best to help, so if a bit of code i wrote doesn't work you don't have to-Rep me for it. I am trying my best to help you.
Donvalley is offline   Reply With Quote
Old 28/07/2013, 11:59 AM   #3
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,846
Reputation: 1399
Default Re: undefined symbol "NOPCheck"

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 Code:
forward Audio_OnSetPack(audiopack[])
But the include file had to do this itself. Are even the latest versions or they're old?
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 28/07/2013, 12:06 PM   #4
ToiletDuck
Huge Clucker
 
ToiletDuck's Avatar
 
Join Date: Apr 2012
Location: Philippines, Lucena City
Posts: 398
Reputation: 43
Default Re: undefined symbol "NOPCheck"

you forgot to close 1 bracket on of your script. Correct me if im wrong
ToiletDuck is offline   Reply With Quote
Old 28/07/2013, 12:07 PM   #5
Donvalley
Huge Clucker
 
Donvalley's Avatar
 
Join Date: Jul 2007
Location: Australia
Posts: 411
Reputation: 26
Default Re: undefined symbol "NOPCheck"

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


I am not a Master Scripter. But if you have a problem i will happily try my best to help, so if a bit of code i wrote doesn't work you don't have to-Rep me for it. I am trying my best to help you.
Donvalley is offline   Reply With Quote
Old 28/07/2013, 12:09 PM   #6
ngumcutoi1999
Big Clucker
 
Join Date: Dec 2012
Location: Viet Nam
Posts: 69
Reputation: -3
Default Re: undefined symbol "NOPCheck"

Quote:
Originally Posted by Donvalley View Post
add:

pawn Code:
new NOPCheck

to top of your script
Code:
(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
ngumcutoi1999 is offline   Reply With Quote
Old 28/07/2013, 12:10 PM   #7
Ley
High-roller
 
Ley's Avatar
 
Join Date: Jul 2012
Posts: 1,106
Reputation: 10
Default Re: undefined symbol "NOPCheck"

Quote:
Originally Posted by ngumcutoi1999 View Post
Code:
(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 Code:
new NOPCheck//He forgot a semicolon. 
Put this definition at the top of your game mode.
__________________
Minha Jornada

Antigo programador oficial do servidor @CarsonGames
Desenvolvedor de aplicativos e software mobile e desktop para comunicações e vendas de recursos SA-MP: Portfólio aqui.
Aplicativos desenvolvidos para guildas de outros jogos: Store @UnForgiven

Contato Messenger: Clique aqui!
Ley is offline   Reply With Quote
Old 28/07/2013, 12:16 PM   #8
ngumcutoi1999
Big Clucker
 
Join Date: Dec 2012
Location: Viet Nam
Posts: 69
Reputation: -3
Default Re: undefined symbol "NOPCheck"

Quote:
Originally Posted by Ley View Post
PHP Code:
new NOPCheck//He forgot a semicolon. 
Put this definition at the top of your game mode.
I added
ngumcutoi1999 is offline   Reply With Quote
Old 28/07/2013, 12:17 PM   #9
Donvalley
Huge Clucker
 
Donvalley's Avatar
 
Join Date: Jul 2007
Location: Australia
Posts: 411
Reputation: 26
Default Re: undefined symbol "NOPCheck"

opps my bad lol thanks Ley :P
__________________


I am not a Master Scripter. But if you have a problem i will happily try my best to help, so if a bit of code i wrote doesn't work you don't have to-Rep me for it. I am trying my best to help you.
Donvalley is offline   Reply With Quote
Old 28/07/2013, 12:25 PM   #10
ngumcutoi1999
Big Clucker
 
Join Date: Dec 2012
Location: Viet Nam
Posts: 69
Reputation: -3
Default Re: undefined symbol "NOPCheck"

I added it to my Script
ngumcutoi1999 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"undefined symbol "playerid"" Grooty Scripting Help 11 18/06/2013 09:22 PM
\pawno\include\streamer.inc(221) : error 017: undefined symbol "MAPICON_LOCAL" AdamCooper Scripting Help 5 05/05/2012 02:08 AM
5 Dialog errors - Input line too long, undefined symbol "t","is" and "only" Deal-or-die Scripting Help 6 01/05/2012 01:08 PM


All times are GMT. The time now is 12:18 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.