ClearAnimations
#1

It does remove the object but it actually doesn't reset/clear the special animation:

Код:
SPECIAL_ACTION_CUFFED
The command (/uncuff):

Код:
     if(!strcmp(cmdtext, "/uncuff", true))
    {
		ClearAnimations(playerid);
		RemovePlayerAttachedObject(playerid, 0);
		TogglePlayerControllable(playerid, true);
		SendClientMessage(playerid, 0xFFDE00FF, "You've been uncuffed. {00E2FF}Psst, fuck those officers once again!");
		return 1;
	}
Reply


Messages In This Thread
ClearAnimations - by Attias - 22.05.2012, 15:49
Re: ClearAnimations - by Youice - 22.05.2012, 15:54
Re: ClearAnimations - by Attias - 22.05.2012, 15:56
Re: ClearAnimations - by Ruben_Alonso - 22.05.2012, 15:58
Re: ClearAnimations - by iggy1 - 22.05.2012, 16:00
Re: ClearAnimations - by BlackBank - 22.05.2012, 16:00
Re: ClearAnimations - by Youice - 22.05.2012, 16:02
Re: ClearAnimations - by iggy1 - 22.05.2012, 16:04
Re: ClearAnimations - by Attias - 22.05.2012, 16:46

Forum Jump:


Users browsing this thread: 6 Guest(s)