Sit player in chair
#4

Here is some commands I just made, hope it helps you.

Код:
CMD:seat(playerid, params[])
{
	ApplyAnimation(playerid, "PED", "SEAT_DOWN", 4.0, 0, 0, 0, 0, 0, 1);
	SetTimerEx("SitAnim", 1000, false, "i", playerid);
	return 1;
}

forward SitAnim(playerid);
public SitAnim(playerid)
{
	ApplyAnimation(playerid, "PED", "SEAT_IDLE", 4.1, 1, 0, 0, 0, 0, 1);
	return 1;
}

CMD:standup(playerid, params[])
{
	ApplyAnimation(playerid, "PED", "SEAT_UP", 4.0, 0, 0, 0, 0, 0, 1);
	return 1;
}
Reply


Messages In This Thread
Sit player in chair - by Banditukas - 01.05.2015, 10:12
Re: Sit player in chair - by Karan007 - 01.05.2015, 10:15
Re: Sit player in chair - by busternr - 01.05.2015, 12:26
Re: Sit player in chair - by Hreesang - 04.05.2017, 01:39
Re: Sit player in chair - by ElMaestro123 - 04.05.2017, 06:19

Forum Jump:


Users browsing this thread: 1 Guest(s)