[Tool/Web/Other] [Function]GetVehicleTrailerPos
#5

what a rubbish
anyone would use this
Код:
GetVehiclePos(GetVehicleTrailer(vehicleid), mx, my, mz);
rather than this
Код:
#include <blabla>
GetVehicleTrailerPos(vehicleid, GetVehicleTrailer(vehicleid), mx, my, mz);
if you wanna make something useful you would make
Код:
stock GetVehicleTrailerPos(vehicleid, &Float:x, &Float:y, &Float:z)
    return GetVehiclePos(GetVehicleTrailer(vehicleid), x, y, z);
}
if no trailer is attached, GetVehicleTrailer returns 0 then GetVehiclePos returns 0 too, otherwise GetVehiclePos returns 1 cuz the trailer exists.
but seriously, why getting the position of a vehicle trailer?
Reply


Messages In This Thread
[Function]GetVehicleTrailerPos - by CoaPsyFactor - 24.08.2010, 13:58
Re: [Function]GetVehicleTrailerPos - by DiddyBop - 24.08.2010, 16:09
Re: [Function]GetVehicleTrailerPos - by nuriel8833 - 26.08.2010, 13:22
Re: [Function]GetVehicleTrailerPos - by ScottCFR - 26.08.2010, 19:21
Re: [Function]GetVehicleTrailerPos - by XXJacksug8X - 16.07.2014, 15:41
Re: [Function]GetVehicleTrailerPos - by CoaPsyFactor - 18.07.2014, 00:18

Forum Jump:


Users browsing this thread: 1 Guest(s)