creating object
#1

hey guys i want to create a ramp in front off my vehicle i just want to know how to ad 5-10 metters in front off my vehicle ? cause now is spawning right in my car :d

Код HTML:
if(newkeys & KEY_FIRE)
	{
	    new vid = GetPlayerVehicleID(playerid);
	    new Float:X, Float:Y, Float:Z;
    	GetVehiclePos(vid, X, Y, Z);
    	CreateDynamicObject(1655, X, Y, Z, 0.00000, 0.00000, 0.00000);
	}
Reply
#2

PHP код:
GetPointInFrontOfVehicle3D(vehicleid,&Float:tx,&Float:ty,&Float:tz,Float:radius,&Float:rx=0.0,&Float:rz=0.0); 
https://sampforum.blast.hk/showthread.php?tid=591010
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)