Help With GetVehicleModelInfo ...
#6

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
It returns the position of the part from the center of the vehicle.
¬¬ https://sampwiki.blast.hk/wiki/GetVehicleModelInfo
https://sampwiki.blast.hk/wiki/Vehicle_information_types

Here I am doing the same but I give it to instead of IsPlayerInRangeOfPoint Attach3DTextLabelToVehicle

pawn Код:
COMMAND:testing(playerid, params[])
{
    new vehicleid = GetPlayerVehicleID(playerid), Float:pos[3];
    GetVehicleModelInfo(GetVehicleModel(vehicleid), VEHICLE_MODEL_INFO_PETROLCAP, pos[0], pos[1], pos[2]);
    new Text3D:texto = Create3DTextLabel("PETROLCAP", -1, 0.0, 0.0, 0.0, 50.0, 0, 1);
    Attach3DTextLabelToVehicle(texto, vehicleid, pos[0], pos[1], pos[2]);
    return 1;
}
It tests it in a vehicle.
Reply


Messages In This Thread
Help With GetVehicleModelInfo ... - by OTACON - 23.01.2013, 18:18
Re: Help With GetVehicleModelInfo ... - by FUNExtreme - 23.01.2013, 18:25
Re: Help With GetVehicleModelInfo ... - by Roach_ - 23.01.2013, 18:29
Respuesta: Re: Help With GetVehicleModelInfo ... - by OTACON - 23.01.2013, 18:44
Re: Respuesta: Re: Help With GetVehicleModelInfo ... - by FUNExtreme - 23.01.2013, 18:56
Respuesta: Re: Respuesta: Re: Help With GetVehicleModelInfo ... - by OTACON - 23.01.2013, 19:04
Re: Respuesta: Re: Respuesta: Re: Help With GetVehicleModelInfo ... - by FUNExtreme - 23.01.2013, 19:12

Forum Jump:


Users browsing this thread: 1 Guest(s)