SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 17/04/2011, 06:21 PM   #1
Wyu
Little Clucker
 
Join Date: Dec 2010
Posts: 36
Reputation: 95
Default nativechecker

I bet anyone who does scripting for SA-MP have experienced the "File or function is not found" error.

It means that one of the native functions in your gamemode or filterscript is declared but does not really exist. Native functions are provided by the SA-MP server itself or by external plugins. So when you see this error you know you're either missing a plugin or have an outdated version of it, or more rarely - the script is compiled for another version of the server.

And as you noticed it doesn't tell you which function is actually missing. Never.

That's what nativechecker is made for.

Download:
IMPORTANT: In order to make it work correcly you must put it in the end of the plugins line of your server.cfg so it will be the last one, e.g. plugins sscanf streamer nativechecker.

Last edited by Wyu; 17/04/2011 at 07:55 PM.
Wyu is offline   Reply With Quote
Old 17/04/2011, 06:28 PM   #2
Jay_
Beta Tester
 
Jay_'s Avatar
 
Join Date: Jul 2009
Posts: 661
Reputation: 183
Default Re: nativechecker

This, actually is, pretty useful.
__________________
Jay_ is offline   Reply With Quote
Old 17/04/2011, 06:31 PM   #3
iJumbo
High-roller
 
iJumbo's Avatar
 
Join Date: Sep 2009
Location: HEX 69 74 61 6C 79
Posts: 2,236
Reputation: 136
Default Re: nativechecker

wow very useful thx
__________________

Need a VPS? Get it here!
Website designer & developer php, html, css, html5, javascript
iJumbo is offline   Reply With Quote
Old 17/04/2011, 06:34 PM   #4
MEC
Big Clucker
 
MEC's Avatar
 
Join Date: Oct 2010
Posts: 81
Reputation: 0
Default Re: nativechecker

you got this for linux?
__________________
MEC is offline   Reply With Quote
Old 17/04/2011, 06:38 PM   #5
Hiddos
High-roller
 
Hiddos's Avatar
 
Join Date: Sep 2008
Posts: 4,864
Reputation: 2179
Default Re: nativechecker

Quote:
Originally Posted by Jay_ View Post
This, actually is, pretty useful.
Give me a reason not to quote this post. Whenever I'm getting that 'not found' error, I'm sure to use this.
__________________
Quote:
Originally Posted by DeWolf View Post
For fuck's sake people, this whole thread is fucked up now.
Hiddos is offline   Reply With Quote
Old 17/04/2011, 06:45 PM   #6
Laronic
Huge Clucker
 
Laronic's Avatar
 
Join Date: Mar 2011
Posts: 435
Reputation: 57
Default Re: nativechecker

Very useful!!!
Laronic is offline   Reply With Quote
Old 17/04/2011, 06:47 PM   #7
xRk
Big Clucker
 
Join Date: Jan 2011
Posts: 161
Reputation: 2
Default Re: nativechecker

Finally i wont get this stupid message.Thank you for this :P
xRk is offline   Reply With Quote
Old 17/04/2011, 07:00 PM   #8
Ricop522
High-roller
 
Ricop522's Avatar
 
Join Date: Feb 2010
Location: ES
Posts: 2,661
Reputation: 156
Default Re: nativechecker

How I use this this show the error??
__________________
"Any fool can write code that a
computer can understand. Good
programmers write code that
humans can understand."

AJUDA! Programação
Github
Ricop522 is offline   Reply With Quote
Old 19/04/2011, 12:34 AM   #9
Patrik356b
Gangsta
 
Patrik356b's Avatar
 
Join Date: Mar 2008
Location: Sweden
Posts: 661
Reputation: 24
Default Re: nativechecker

Wow, nice
Patrik356b is offline   Reply With Quote
Old 15/02/2012, 11:20 AM   #10
HighFlyer
Big Clucker
 
HighFlyer's Avatar
 
Join Date: Nov 2011
Location: United Kingdom
Posts: 156
Reputation: 1
Default Re: nativechecker

Thank you for making this plugin. As said above, very very useful.
__________________

The one and only transport roleplay - coming soon to SA-MP. Join us on ********: http://www.********.com/SanAndreasTransport
Visit our forums at http://sa-transport.xaa.pl/forum
HighFlyer 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



All times are GMT. The time now is 05:06 PM.


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