SA-MP Forums Archive
StartRecordingPlayback? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: StartRecordingPlayback? (/showthread.php?tid=237377)



StartRecordingPlayback? - hadzx - 09.03.2011

im making a npc where when you type /npcgo the npc starts driving but i get this why??

heres code


Код:
	if (strcmp("/npcgo", cmdtext, true, 10) == 0)
    {
  		StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"npcgo");
		return 1;
	}
and the error


Код:
C:\Users\Stephen-Laptop\Desktop\fuckin serv\gamemodes\test2.pwn(149) : error 017: undefined symbol "StartRecordingPlayback"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
and i have at the top

Код:
#include <a_samp> and #include <a_npc>
why do i get this?