11.10.2009, 22:35
This is the only thing i added for NPC on foot.
This is mine "mini" script that make connection with the security.rec file
And this on:
The NPC On Foot connects but doesn't show up IG.
This is mine "mini" script that make connection with the security.rec file
pawn Код:
#define RECORDING "security" //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 == 1
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
#else
public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif
pawn Код:
public OnGameModeInit()
ConnectNPC("Jim_Caziel","security");
return 1;
}