OnFoot Bot
#1

Hello

How to start a onfoot bot?
becuase ATM they are nto doing nothing?


when they are Veh bots they start with
OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);


so what to do with onfoot ones?

Help

THanks
Reply
#2

Код:
public OnNPCSpawn()
{
	StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,record_name[]);
	return 1;
}
And in FS
Код:
#include <a_npc>
main(){}
NextPlayback()
{
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,record_name[]);
}
public OnRecordingPlaybackEnd()
{
  NextPlayback();
}
public OnNPCSpawn()
{
	StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,record_name[]);
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)