02.02.2010, 14:32
hello,
i tried to put this code on my gamemode :
but when i see/enter vehicleid 522 ( nrg500 ) i dont see "Text" on the vehicle.
why that?
the vehicles at OnGameModeInit
i tried to put this code on my gamemode :
Код:
new Car3DText[50]; public OnVehicleSpawn(vehicleid) { if(vehicleid == 522) { Car3DText = "Text"; new Text3D:Created3D = Create3DTextLabel(Car3DText,0x008080FF,0.0,0.0,0.0,0.0,0); Attach3DTextLabelToVehicle(Created3D,vehicleid,0.0,0.0,0.0); } return 1; }
why that?
the vehicles at OnGameModeInit