NPC help - 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 help (
/showthread.php?tid=634536)
NPC help -
Primes007 - 20.05.2017
I have just scripted an NPC script and got the following errors:
pawn Код:
error 017: undefined symbol "StartRecordingPlayback"
error 017: undefined symbol "StopRecordingPlayback"
error 017: undefined symbol "StartRecordingPlayback"
I have included <a_npc> after <a_samp>.
pawn Код:
#include <a_samp>
#include <a_npc>
The loading of a_npc isn't just happening after a_samp is loaded.
Regards!
Re: NPC help -
aoky - 20.05.2017
Have you got the latest includes?
Re: NPC help -
Primes007 - 21.05.2017
I will try replacing them with latest ones. Thanks
EDIT: I have replaced all my includes with latest version. The error still persists.
Re: NPC help -
AbyssMorgan - 21.05.2017
Is not possible to include a_samp.inc and a_npc.inc in the same time.
a_samp.inc - filterscripts / gamemodes
a_npc.inc - npcmodes
Re: NPC help -
Primes007 - 21.05.2017
Quote:
Originally Posted by AbyssMorgan
Is not possible to include a_samp.inc and a_npc.inc in the same time.
a_samp.inc - filterscripts / gamemodes
a_npc.inc - npcmodes
|
Then can you please tell me how I can add an NPC command in OnPlayerConnect or OnFilterScriptInit or OnPlayerUpdate?
Re: NPC help -
Primes007 - 21.05.2017
Ok I got it, Thanks. But now,
Any Idea why?