SA-MP Forums Archive
Function not registered - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Function not registered (/showthread.php?tid=615596)



Function not registered - zerotobey - 24.08.2016

So I was trying to run Hzgaming's RP on my computer and I get this stupid error I put on nativechecker to check it out, how do I fix this It's been 3 days and I couldn't find a working solution..


Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team


Server Plugins
--------------
 Loading plugin: mysql


  > MySQL plugin R6-2 successfully loaded.

  Loaded.
 Loading plugin: streamer


*** Streamer Plugin v2.6.1 by Incognito loaded ***

  Loaded.
 Loading plugin: Whirlpool

 ==================

  Whirlpool loaded

 ==================

  Loaded.
 Loading plugin: nativechecker
  Loaded.
 Loaded 4 plugins.


Started server on port: 7777, with maxplayers: 100 lanmode is OFF.


Filterscripts
---------------
  Loading filterscript 'yom_buttons.amx'...
  Loading filterscript 'anims.amx'...
  Loaded 2 filterscripts.

   Error: Function not registered: 'SSCANF_Init'
   Error: Function not registered: 'SSCANF_Join'
   Error: Function not registered: 'SSCANF_Leave'
   Error: Function not registered: 'sscanf'
Script[gamemodes/HRP_9.0.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0



Re: Function not registered - SyS - 24.08.2016

load sscanf plugin too.


Re: Function not registered - zerotobey - 24.08.2016

There's only sccanf2 which im guessing is the same shit, it's in the pawno includes.


Re: Function not registered - zerotobey - 24.08.2016

Okay, I installed the sscanf plugin and it loads the vehicle models now but now I still get this error /:
But it's progress!

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team


Server Plugins
--------------
 Loading plugin: mysql


  > MySQL plugin R6-2 successfully loaded.

  Loaded.
 Loading plugin: streamer


*** Streamer Plugin v2.6.1 by Incognito loaded ***

  Loaded.
 Loading plugin: Whirlpool

 ==================

  Whirlpool loaded

 ==================

  Loaded.
 Loading plugin: nativechecker
  Loaded.
 Loading plugin: sscanf


 ===============================

      sscanf plugin loaded.

         Version:  2.8.2

   © 2012 Alex "******" Cole

 ===============================

  Loaded.
 Loaded 5 plugins.


Started server on port: 7777, with maxplayers: 100 lanmode is OFF.


Filterscripts
---------------
  Loading filterscript 'yom_buttons.amx'...
  Loading filterscript 'anims.amx'...
  Loaded 2 filterscripts.

   Error: Function not registered: 'SSCANF_Init'
   Error: Function not registered: 'SSCANF_Join'
   Error: Function not registered: 'SSCANF_Leave'
   Error: Function not registered: 'sscanf'

----------------------------------
Horizon Roleplay
----------------------------------

Number of vehicle models: 114



Re: Function not registered - Logic_ - 24.08.2016

you need to compile a fs with the new sscanf


Re: Function not registered - Konstantinos - 24.08.2016

Just place nativechecker plugin as last to load (in server.cfg) and you'll get rid of the messages. As long as you don't get a run time error 19, all your plugins have been loaded correctly and the server has started.


Re: Function not registered - SyS - 24.08.2016

load native checker in last


Re: Function not registered - zerotobey - 24.08.2016

Done, checking it now. No errors.


Re: Function not registered - zerotobey - 24.08.2016

And it worked... Solution: Installed Sscanf.dll plugin as it wasn't there. And make sure you always put nativechecker last!! Thanks guys!