NPC Stop & Resume
#9

to stop use:
PauseRecordingPlayback();

to continue use:
ResumeRecordingPlayback();


pausing a singple NPC

pawn Код:
if(IsPlayerNpc(playerid))
    {
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, sizeof(pName));
        if(strcmp(pName, "Killer") == 0)
        {
         ResumeRecordingPlayback();
            return 0;
        }
    }
i hope that helps
Reply


Messages In This Thread
NPC Stop & Resume - by Black Wolf - 28.09.2012, 03:48
Re: NPC Stop & Resume - by XtremeR - 28.09.2012, 04:07
Re: NPC Stop & Resume - by Snaz - 28.09.2012, 04:24
Re: NPC Stop & Resume - by Black Wolf - 28.09.2012, 04:28
Re: NPC Stop & Resume - by XtremeR - 28.09.2012, 04:36
Re: NPC Stop & Resume - by Black Wolf - 28.09.2012, 04:39
Re: NPC Stop & Resume - by XtremeR - 28.09.2012, 04:49
Re: NPC Stop & Resume - by Black Wolf - 28.09.2012, 05:44
Re: NPC Stop & Resume - by XtremeR - 28.09.2012, 07:31

Forum Jump:


Users browsing this thread: 1 Guest(s)