06.07.2016, 07:27
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.
And it worked
Код:
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); }