Probles with bots help I'm stuck for ages... I'm an NPC bot lover lol
#3

Quote:
Originally Posted by GangMember211
Whats standing on rule number 28?
NextPlayback()

and that must be

NextPlayback();

edit fixed whole thing (wild edit)

pawn Код:
#include <a_npc>
#define NUM_PLAYBACK_FILES 5
new gPlaybackFileCycle=1;

//------------------------------------------

main(){}

public OnNPCConnect(myplayerid)
{
    NextPlayback();
    return 1;
}

NextPlayback()
{
        StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"train_sf_to_lv1");



        gPlaybackFileCycle++;
}

public OnRecordingPlaybackEnd()
{
    NextPlayback();
    NextPlayback();
                    if(gPlaybackFileCycle = 0) {
        StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"train_sf_to_lv1");
                    }
                    if(gPlaybackFileCycle = 1) {
        StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"train_sf_to_lv1");
                    }


        gPlaybackFileCycle++;
 return 1;
}

public OnRecordingPlaybackEnd()
{
    if(gPlaybackFileCycle = 1){
    gPlaybackFileCycle = 1000;
    }
    if(gPlaybackFileCycle = 1){
    gPlaybackFileCycle = 1;
    NextPlayback();
    }
    if(gPlaybackFileCycle = 1000){
    gPlaybackFileCycle = 1;
    NextPlayback();
    }
 return 1;
}
Search for the callback 'OnRecordingPlaybackEnd' and remove it (the unused one)
Reply


Messages In This Thread
Probles with bots help I'm stuck for ages... I'm an NPC bot lover lol - by speedruntrainer - 13.01.2010, 16:53
Re: Probles with bots help I'm stuck for ages... I'm an NPC bot lover lol - by GangMember211 - 13.01.2010, 17:02
Re: Probles with bots help I'm stuck for ages... I'm an NPC bot lover lol - by KnooL - 13.01.2010, 17:03

Forum Jump:


Users browsing this thread: 2 Guest(s)