Can i get some help?Easy question - 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: Can i get some help?Easy question (
/showthread.php?tid=258383)
Can i get some help?Easy question -
SkizzoTrick - 30.05.2011
Hello,
Im new in NPC things and i try learning from Wiki but there is something wrong...
pawn Код:
if (strcmp("/recordmyself", cmdtext, true, 10) == 0)
{
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,NPC);
return 1;
}
i get this:
Код:
C:\Users\Raul\Downloads\Intelexe's\samp03csvr_win32\filterscripts\CNPC.pwn(118) : error 017: undefined symbol "StartRecordingPlayback"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Can i get some help?Easy question -
Nightmare[TR] - 30.05.2011
Put this to header on your gamemode
Re: Can i get some help?Easy question -
SkizzoTrick - 30.05.2011
I did..but i get the same thing...
EDIT:
Sorry,i discovered that that's the function wich loads the npc.
BUT how do i record myself? and then stream in a NPC wich will do the same as me
Re: Can i get some help?Easy question -
Nightmare[TR] - 30.05.2011
Try upgrading your pawno.Download the latest in sa-mp site.Replace all of your files(Including includes)
Re: Can i get some help?Easy question -
antonio112 - 30.05.2011
You want to record yourself and then use an NPC?
If, yes, here`s your answer:
https://sampforum.blast.hk/showthread.php?tid=95034
It`s very well explained and stuff. :P
Re: Can i get some help?Easy question -
SkizzoTrick - 30.05.2011
I know that Tut but can i load that NPC without restarting the ServeR?
Re: Can i get some help?Easy question -
antonio112 - 30.05.2011
I doubt it ... but I can`t tell you for sure, sorry.
Re: Can i get some help?Easy question -
Swiftz - 30.05.2011
i thought cnpc was banned from usage
Re: Can i get some help?Easy question -
SkizzoTrick - 30.05.2011
Yes,but im trying to make something like this and i don't know where to find the basics.
https://sampforum.blast.hk/showthread.php?tid=256414
Re: Can i get some help?Easy question -
Sasino97 - 01.06.2011
Quote:
// Recording for NPC playback
#define PLAYER_RECORDING_TYPE_NONE 0
#define PLAYER_RECORDING_TYPE_DRIVER 1
#define PLAYER_RECORDING_TYPE_ONFOOT 2
native StartRecordingPlayerData(playerid, recordtype, recordname[]);
native StopRecordingPlayerData(playerid);
|
........ ?