Text Label
#1

Im want to attach a 3D text Label to every vehicle on the server, but on wiki it says you can attach it to one,

What is the number to add the text draw to every vehicle on the server ?

Attach3DTextLabelToVehicle( MyLabel, vehicle_id, 0.0, 0.0, 2.0);

Please help me someone
Reply
#2

Not sure if this would work:

On top add:
pawn Код:
#define MAX_VEHICLES 1000
Then add wherever it should be added:

pawn Код:
for(new i = 0; i < MAX_VEHICLES; i++)
{
Attach3DTextLabelToVehicle( MyLabel,i, 0.0, 0.0, 2.0);
}
Reply
#3

Quote:
Originally Posted by oliverrud
Посмотреть сообщение
Not sure if this would work:

On top add:
pawn Код:
#define MAX_VEHICLES 1000
Then add wherever it should be added:

pawn Код:
for(new i = 0; i < MAX_VEHICLES; i++)
{
Attach3DTextLabelToVehicle( MyLabel,i, 0.0, 0.0, 2.0);
}
Thank you very much it works great i was working on this for atleast 3 hours and you made it work thank you very much
Reply
#4

No problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)