NPC On Foot Problem
#10

Ok This is my NPC Mode Tollbooth it's just a guy that stands there

Код:
#include <a_npc>

//------------------------------------------

main(){}

//------------------------------------------

NextPlayback()
{
  StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"Tollbooth1");
}

//------------------------------------------

public OnRecordingPlaybackEnd()
{
  NextPlayback();
}

//------------------------------------------

public OnNPCSpawn()
{
  NextPlayback();
}

//------------------------------------------

public OnNPCExitVehicle()
{
  StopRecordingPlayback();
}
it's simple as. If the npc is to walk you make a recording of it walking
just make sure that you are calling the recording when it spawns ^^
that's all i use for my bot to spawn and position it's self at the right spot
Reply


Messages In This Thread
NPC On Foot Problem - by RoamPT - 11.10.2009, 22:35
Re: NPC On Foot Problem - by Beaver07 - 12.10.2009, 01:58
Re: NPC On Foot Problem - by RoamPT - 12.10.2009, 12:55
Re: NPC On Foot Problem - by [XST]O_x - 12.10.2009, 12:59
Re: NPC On Foot Problem - by RoamPT - 12.10.2009, 13:03
Re: NPC On Foot Problem - by [XST]O_x - 12.10.2009, 13:04
Re: NPC On Foot Problem - by RoamPT - 12.10.2009, 13:16
Re: NPC On Foot Problem - by jesse237 - 12.10.2009, 16:17
Re: NPC On Foot Problem - by krille120 - 12.10.2009, 16:56
Re: NPC On Foot Problem - by Beaver07 - 12.10.2009, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)