Originally Posted by Shady91
well you haven't gave us much information about your problem so how can we fix it post your NPC filterscript code here so we can see the problem if there is one, thanks.
|
//
// A Driver NPC that goes around a path continuously
// Kye 2009
//
#include <a_npc>
#define NUM_PLAYBACK_FILES 3
new gPlaybackFileCycle=0;
//------------------------------------------
main(){}
//------------------------------------------
NextPlayback()
{
// Reset the cycle count if we reach the max
if(gPlaybackFileCycle==NUM_PLAYBACK_FILES) gPlaybackFileCycle = 0;
if(gPlaybackFileCycle==0) {
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"Tren");
}
else if(gPlaybackFileCycle==1) {
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"Tren1");
}
else if(gPlaybackFileCycle==2) {
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"Tren2");
}
else if(gPlaybackFileCycle==3) {
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"Tren3");
}
else if(gPlaybackFileCycle==4) {
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"Tren4");
}
else if(gPlaybackFileCycle==5) {
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"Tren5");
}
else if(gPlaybackFileCycle==6) {
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"Tren6");
}
gPlaybackFileCycle++;
}
//------------------------------------------
public OnRecordingPlaybackEnd()
{
NextPlayback();
}
//------------------------------------------
public OnNPCEnterVehicle(vehicleid, seatid)
{
NextPlayback();
}
//------------------------------------------
public OnNPCExitVehicle()
{
StopRecordingPlayback();
gPlaybackFileCycle = 0;
}
//------------------------------------------
Originally Posted by [HiC
TheKiller ]
Do you have something like a login kick timer? |