About npc's
#1

who can tell me why when i recorded a walking npc wont moving from his place but when i makea Driving npc it works perfectly thanks for your answers
Reply
#2

What command do you use for recording the npc?

if you are using "npc_record" FS.

then

Код:
/ofrecord <<< use this command while on foot.
/vrecord  <<<use this command while in vehicle.
/stoprecord <<<use this command to stop the recording while on foot or in vehicle
Reply
#3

dude i already made the npc i already made the Vehicules npc's works perfectly i changed the Record_Type to 2 to makes it walking + .rec of walking npc but it just spawns & dont walks but other npc's of vehicles works perfectly
Reply
#4

pff, you said it "i already made the npc i already made the Vehicules npc's works perfectly i changed the Record_Type to 2 to makes it walking" try remaking it using
Код:
/ofrecord
Reply
#5

Okey Guys to be clear for you i did
/ofrecord then i moved the .rec to Recording then i go to NPcModes & i made

Код:
#define RECORDING "footmini" //This is the filename of your recording without the extension.
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);

#if RECORDING_TYPE == 2
  public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  public OnNPCExitVehicle() StopRecordingPlayback();
#else
  public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif
after that i go on my FS i added
public OnFilterScriptInit()
{

ConnectNPC("Mini","1");

}

when i launche the server i see him connected & he dont Logout but he wont move ...

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)