License Plate System help.
#1

pawn Код:
new Text3D:VehicleLicense[MAX_VEHICLES];
pawn Код:
for(new vehid; vehid < MAX_VEHICLES; vehid++)
    {
    new message[128];
    format(message,sizeof(message), "%i", vehid);
    VehicleLicense[vehid] = Create3DTextLabel(message, 0xD40000AA, 0.2, 0.2, 0.2, 50.0, 0, 1);
    Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.2, 0.2, 0.2);
}
The code does not function until the vehicle respawns from an explosion or it get destroyed.
Reply
#2

pawn Код:
new Text3D:VehicleLicense[MAX_VEHICLES];
Reply
#3

Wow I was too sleepy to notice that. Thanks!
Reply
#4

So for it to work I need to add a regular "AddStaticVehicle" function?
or do I need to add something else?
Reply
#5

should work for anything
Reply
#6

It doesn't seem to show.
Reply
#7

add the license thingy under OnVehicleSpawn
Reply
#8

Doesn't work either.
Reply
#9

Does anything happen? cause for my player 3D text, I had it create, then change when it needed to, with Update3DText or w/e
Reply
#10

The 3D Text doesn't appear so I don't think it's working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)