10.04.2013, 17:50
I started getting used to manage npcs. I recorded a simple waving welcome motion with length about 10 sec. I add this line in a random non-npc filterscript:
Next I created a npc filterscript which is used above and this is the whole of it:
wave is the .rec file
I open server and my ncp is not there, what am I doing wrong?
pawn Код:
public OnFilterScriptInit()
{
print(" Loaded successful.");
ConnectNPC("Welcome","wave_npc"); //wave_npc is the name of the npc filterscript which follows down
return 1; //and it is located in the folder \npcmodes
}
pawn Код:
#include <a_npc.inc>
main() {}
public OnNPCSpawn() StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"wave");
public OnRecordingPlaybackEnd() StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"wave");
I open server and my ncp is not there, what am I doing wrong?