NPC Pause?
#1

Say a NPC is walking is there a way to pause the NPC and then play the NPC again?
Reply
#2

Use this.
Reply
#3

I was reading that today, I don't see how I could make the NPC pause still.
Reply
#4

Under OnPlayerUpdate put this.
pawn Код:
if(IsPlayerNpc(playerid))
    {
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, sizeof(pName));
        if(strcmp(pName, "Yourbotname") == 0)
        {
            return 0;
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)