07.02.2010, 13:49
I get this code.
but only when i blow the vehicle and he respawn again i see the text on the vehicle
( the vehicles located at OnGameModeInit )
What i need to do to see the vehicle when i enter the game and not when i blow the car and he respawn again to his location?
Код:
public OnVehicleSpawn(vehicleid) { // AddStaticVehicle(522,660.0554,1719.1187,6.5642,12.7699,8,82); // if(GetVehicleModel(vehicleid) == 522) { Car3DText = "text"; new Text3D:Created3D = Create3DTextLabel(Car3DText,COLOR_GREEN,0.0,0.0,0.0,50,0,0); Attach3DTextLabelToVehicle(Created3D,vehicleid,0.0,0.0,0.0); } return 1; }
( the vehicles located at OnGameModeInit )
What i need to do to see the vehicle when i enter the game and not when i blow the car and he respawn again to his location?