SA-MP Forums Archive
NPC and sscanf related warning. - 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: NPC and sscanf related warning. (/showthread.php?tid=508159)



NPC and sscanf related warning. - rangerxxll - 20.04.2014

So I'm receiving a warning from sscanf2 include saying

pawn Код:
C:\Users\Luke\Desktop\HSRP\pawno\include\sscanf2.inc(69) : warning 235: public function lacks forward declaration (symbol "OnNPCModeInit")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
I've read the sscanf2's topic about NPC modes and it still leads to no avail no matter what I do. Does anyone have a solution? (Yes, I've tried to manually forward it.)


Re: NPC and sscanf related warning. - rangerxxll - 20.04.2014

Yes.

pawn Код:
#include <a_samp>
#include <a_npc>
#include <zcmd>
#include <sscanf2>
#include <streamer>
#include <foreach>
#include <YSI\y_ini>



Re: NPC and sscanf related warning. - rangerxxll - 20.04.2014

I'm not too sure what you mean. a_npc has all the native functions and callback a_samp has?


Re: NPC and sscanf related warning. - Aerotactics - 21.04.2014

Quote:
Originally Posted by ******
Посмотреть сообщение
No it doesn't. a_samp has the functions the server can use, and a_npc has a different set that only NPCs can use.
We found out the issue was because you didn't include NPCMode.so in sscanf for linux, and our host is on a Linux server. Would you be able to create a version for Linux servers? We'd really like NPCs to roam around