SA-MP Forums Archive
sscanf2: server commands not working - 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: sscanf2: server commands not working (/showthread.php?tid=634710)



sscanf2: server commands not working - Brandon001 - 24.05.2017

Hi!

I'm updating to sscanf2(from 0.3.7 version).

Whats the problem?


Код:
warning 235: public function lacks forward declaration (symbol "OnNPCModeInit")
Thanks!


Re: sscanf2: server commands not working - RxErT - 24.05.2017

Just type this

PHP код:
forward OnNPCModeInit(); 
above OnGameModeInit


Re: sscanf2: server commands not working - Brandon001 - 24.05.2017

Unfortunately..

warning 235: public function lacks forward declaration (symbol "OnNPCModeInit")
error 004: function "SSCANF_OnNPCModeInit" is not implemented


Re: sscanf2: server commands not working - Vince - 24.05.2017

Are you including a_npc in a gamemode or something? Because you're not supposed to do that.


Re: sscanf2: server commands not working - Brandon001 - 24.05.2017

Thanks! Solved!