15.06.2010, 15:34
public OnFilterScriptInit()
{
print("Bots..);
ConnectNPC("NameYourBot","the-name-of-the-bot-you-have-in-recording");
return 1;
}
Save that file... Now open the pawno and Press New and type this ...
#define RECORDING "Here-Type-Your-Bot-Name-That-You Have- In your NPC reocrdings"
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.
#include <a_npc>
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
Good Luck
{
print("Bots..);
ConnectNPC("NameYourBot","the-name-of-the-bot-you-have-in-recording");
return 1;
}
Save that file... Now open the pawno and Press New and type this ...
#define RECORDING "Here-Type-Your-Bot-Name-That-You Have- In your NPC reocrdings"
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.
#include <a_npc>
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
Good Luck
![Smiley](images/smilies/smile.png)