Actor Problem
#4

He pretty much explained it anyway but I'll try. (Sorry for any typos I'm on tab.)
Code:
new actorbusy[MAX_ACTORS]; // at top of your script with other variables
CMD:shoemaker(playerid, params[])
{
    if(actorbusy[playerid] == 1) return SendClientMessage(playerid, -1, "Actor Is Busy.");
      // do your stuff here, applying anim and whatever. While doing that make sure to set this variable to 1
        actorbusy[playerid] = 1;

// When your actor finishes the job you can set it back to 0.
If someone wants to correct me please feel free to do so. I'm back after pretty long so I'm rusty
Reply


Messages In This Thread
Actor Problem - by hoanduy - 15.11.2017, 03:02
Re: Actor Problem - by Jaxium - 15.11.2017, 03:21
Re: Actor Problem - by hoanduy - 15.11.2017, 03:29
Re: Actor Problem - by Ritzy2K - 15.11.2017, 05:07
Re: Actor Problem - by hoanduy - 15.11.2017, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)