12.10.2009, 19:57
Ok This is my NPC Mode Tollbooth it's just a guy that stands there
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
Код:
#include <a_npc> //------------------------------------------ main(){} //------------------------------------------ NextPlayback() { StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"Tollbooth1"); } //------------------------------------------ public OnRecordingPlaybackEnd() { NextPlayback(); } //------------------------------------------ public OnNPCSpawn() { NextPlayback(); } //------------------------------------------ public OnNPCExitVehicle() { StopRecordingPlayback(); }
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