Can i get some help?Easy question
#1

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.
Reply
#2

Put this to header on your gamemode

Код:
#include <a_npc>
Reply
#3

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
Reply
#4

Try upgrading your pawno.Download the latest in sa-mp site.Replace all of your files(Including includes)
Reply
#5

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
Reply
#6

I know that Tut but can i load that NPC without restarting the ServeR?
Reply
#7

I doubt it ... but I can`t tell you for sure, sorry.
Reply
#8

i thought cnpc was banned from usage
Reply
#9

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
Reply
#10

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);

........ ?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)