Disable Animation in Vehicle
#3

Quote:
Originally Posted by hansen111
Посмотреть сообщение
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == ANIMS_DIALOG && response && !IsPlayerInAnyVehicle(playerid))
	{
		switch(listitem)
		{
			case 0:LoopingAnim(playerid, "PED", "SEAT_idle", 1.0, 1, 0, 0, 0, 0);
			case 1:LoopingAnim(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
			case 2:SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1); 
                 }
		return 1;
	}
	return 0;
}
Like a charm! +rep thanks!
Reply


Messages In This Thread
Disable Animation in Vehicle - by kbalor - 20.07.2012, 18:14
Re: Disable Animation in Vehicle - by hansen111 - 20.07.2012, 18:21
Re: Disable Animation in Vehicle - by kbalor - 20.07.2012, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)