Trunk Coordinates
#4

Hm, this might not be perfect, but let's use GetVehicleModelInfo.

pawn Code:
new
    Float:X,
    Float:Y,
    Float:Z;
GetVehicleModelInfo(model, VEHICLE_MODEL_INFO_WHEELSREAR, X, Y, Z);
//IsPlayerInRangeOfPoint(playerid, 3.0, X, Y, Z)
Additionally you could add some offset using sin/cos functions, so only when player stands behind the car he'll can access the trunk
Reply


Messages In This Thread
Trunk Coordinates - by AphexCCFC - 12.09.2013, 04:26
Re: Trunk Coordinates - by WopsS - 12.09.2013, 05:50
Re: Trunk Coordinates - by AphexCCFC - 12.09.2013, 06:52
Re: Trunk Coordinates - by Misiur - 12.09.2013, 07:41
Re: Trunk Coordinates - by AphexCCFC - 12.09.2013, 16:03
Re: Trunk Coordinates - by AphexCCFC - 12.09.2013, 17:45
Re: Trunk Coordinates - by Kirollos - 13.09.2013, 00:02
Re: Trunk Coordinates - by AphexCCFC - 13.09.2013, 00:19
Re: Trunk Coordinates - by Kirollos - 13.09.2013, 00:21
Re: Trunk Coordinates - by AphexCCFC - 13.09.2013, 01:17

Forum Jump:


Users browsing this thread: 3 Guest(s)