Attach3DTextLabeltoVehicle Help
#3

Thanks Mencent. I've tried your code but it compiles succesfully but the text doesn't appear in game. But i've figured it out.
Код:
new LSPDVehicles[1]//The limit of LSPD Vehicles
new Text3D:vehicle3Dtext[1]//The limit of vehicle's 3D texts

public OnGameModeInit()
{
        LSPDVehicles[0] = AddStaticVehicleEx(596, 1602.5122, -1680.3663, 5.4630, 90.1200, 0, 1, FACTION_RESPAWN);
}
public OnVehicleSpawn()
{
        vehicle3Dtext[1] = Create3DTextLabel("1-ADAM-2", COLOR_WHITE, 0.0, 0.0, 0.0, 50.0, 0, 1 );
	Attach3DTextLabelToVehicle(vehicle3Dtext[1], LSPDVehicles[1], -0.7, -1.9, -0.3);
}
And it worked
Reply


Messages In This Thread
Attach3DTextLabeltoVehicle Help - by 0B3Y - 06.07.2016, 03:10
Re: Attach3DTextLabeltoVehicle Help - by Mencent - 06.07.2016, 07:08
Re: Attach3DTextLabeltoVehicle Help - by 0B3Y - 06.07.2016, 07:27

Forum Jump:


Users browsing this thread: 1 Guest(s)