Vehicle Pos & Angles
#1

So, when i exit the vehicle and specific angle the player spawns where I want him to spawn but when the vehicle is facing another angle it spawns the player at some other position. It's for the tropic boat, i'm trying to get the player to exit at the little glass doors on the bottom deck.

Код:
		new Float:pos[4];
			GetVehiclePos(InTropic[playerid], pos[0], pos[1], pos[2]);
			GetVehicleZAngle(InTropic[playerid], pos[3]);

   			SetPlayerPos(playerid, floatsub(pos[0], 3.390350), floatsub(pos[1], 0.012207), floatsub(pos[2], -1.066784) );
			SetPlayerFacingAngle(playerid, pos[3]-180);
Reply


Messages In This Thread
Vehicle Pos & Angles - by trapstar2020 - 09.08.2015, 23:50
Re: Vehicle Pos & Angles - by trapstar2020 - 10.08.2015, 21:22

Forum Jump:


Users browsing this thread: 2 Guest(s)