15.11.2017, 05:07
He pretty much explained it anyway but I'll try. (Sorry for any typos I'm on tab.)
If someone wants to correct me please feel free to do so. I'm back after pretty long so I'm rusty
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.