10.11.2011, 02:38
I Created My First NPC And IT Wont Move
And I Add The REC File In (ROOT FOLDER/npcmodes/recording)
And I Add The REC File In (ROOT FOLDER/npcmodes/recording)
pawn Код:
#define RECORDING "Dancer"
#define RECORDING_TYPE 2
#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("Bell","Dancer");
return 1;
}