[ HELP ] 3DText for Vehicle -
c0GI - 02.07.2012
Hy, I have a problem with 3Dtext for vehicles! There is my VEH system for COPCar!:
Код:
new Ambulance[5]
for(new i = 0; i < sizeof(Ambulance); i++)
{
MD = CreateDynamic3DTextLabel("[ HITNA POMOC ]\ncena lecenja od 50$ do 500$",0xFFFFFF, 0,0,0, 20.0);
Attach3DTextLabelToVehicle( MD, Ambulance[i], 0.0, 0.0, 0.0);
}
Ambulance[0] = AddStaticVehicleEx(416,1177.35,-1339.24,13.66,269.58, -1, -1, 30000); // Ambulance 52
Ambulance[1] = AddStaticVehicleEx(416,1176.98,-1308.65,13.62,269.33, -1, -1, 30000); // Ambulance 53
Ambulance[2] = AddStaticVehicleEx(416,1189.87,-1357.14,13.21,180.78, -1, -1, 30000); // Ambulance 54
Ambulance[3] = AddStaticVehicleEx(487,1211.58,-1324.46,13.21,0.42, 1, 3, 30000); // Medic chopper 55
And the 3dtext will not show on the car?? WHY? Can you help me!
Re: [ HELP ] 3DText for Vehicle -
ViniBorn - 02.07.2012
Use Attach3DTextLabelToVehicle after AddStaticVehicleEx
Re: [ HELP ] 3DText for Vehicle -
c0GI - 02.07.2012
Can you give me an example!
Re: [ HELP ] 3DText for Vehicle -
ViniBorn - 02.07.2012
pawn Код:
//Top
new Ambulance[4];
//OnGameModeInit
Ambulance[0] = AddStaticVehicleEx(416,1177.35,-1339.24,13.66,269.58, -1, -1, 30000); // Ambulance 52
Ambulance[1] = AddStaticVehicleEx(416,1176.98,-1308.65,13.62,269.33, -1, -1, 30000); // Ambulance 53
Ambulance[2] = AddStaticVehicleEx(416,1189.87,-1357.14,13.21,180.78, -1, -1, 30000); // Ambulance 54
Ambulance[3] = AddStaticVehicleEx(487,1211.58,-1324.46,13.21,0.42, 1, 3, 30000); // Medic chopper 55
MD = CreateDynamic3DTextLabel("[ HITNA POMOC ]\ncena lecenja od 50$ do 500$",0xFFFFFF, 0,0,0, 20.0);
for(new i; i < sizeof(Ambulance); i++)
Attach3DTextLabelToVehicle( MD, Ambulance[i], 0.0, 0.0, 0.0);
//See CreateDynamic3DTextLabelEx
Re: [ HELP ] 3DText for Vehicle -
c0GI - 02.07.2012
Okey, thanks
I will try and tell you if it will be ok
Re: [ HELP ] 3DText for Vehicle -
c0GI - 02.07.2012
No ViniBorn, its wasnt working
Can anybody help?
Re: [ HELP ] 3DText for Vehicle -
ViniBorn - 02.07.2012
How you declared 'MD' ?
Re: [ HELP ] 3DText for Vehicle -
c0GI - 02.07.2012
Yes: new Text3D:MD;
And still not working?
Re: [ HELP ] 3DText for Vehicle -
c0GI - 04.07.2012
Anybody help?