05.05.2011, 05:19
filterscripts:
npcmodes:
It loads the filterscript but the bot does not connect, can someone help me fix this?
Код:
#include <a_npc>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Ghost_Of_Jesus by lars");
print("--------------------------------------\n");
ConnectNPC("God","coplv");
return 1;
}
#endif
Код:
#define RECORDING "coplv" //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

