Jump to content
  • 0

Get(Set)VehicleZAngle


Guest farse

Question

	if (newkeys == KEY_WALK + KEY_SPRINT)
	{
		SendClientMessage(playerid,Color_Violet,"...");
		new vehicleid=GetPlayerVehicleID(playerid);
		new Float:Angle;
		GetVehicleZAngle(vehicleid,Angle);
		SetVehicleZAngle(vehicleid,Angle);
	}

Am incercat sa fac,cand apasa Alt+BackSpace sa se intoarca masina...dar cand apas butoanele in masina nu se intampla nimic :P si cand nu sunt in masina si apas acele butoane imi apare "..."

Ma chinui de 2 ore si..nimic..

"Help me"

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

	if (newkeys == KEY_WALK + KEY_SPRINT)
	{
		SendClientMessage(playerid,Color_Violet,"...");
		new vehicleid=GetPlayerVehicleID(playerid);
		new Float:Angle;
		GetVehicleZAngle(vehicleid,Angle);
		SetVehicleZAngle(vehicleid,Angle);
	}

GetVehicleZAngle(vehicleid,Angle);

SetVehicleZAngle(vehicleid,Angle);

pai ce ai vrea sa intoarca? tu practic ii afli unghiul apoi nu il schimbi nu ii faci nimic :P scrie la SetVehicleZAngle(vehicleid, ceunghiuvreitu);

ir2tc1.png [url=http://forum.sa-mp.ro/filter-scripts-and-gamemode
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.