SA-MP Forums Archive
License Plate System help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: License Plate System help. (/showthread.php?tid=154886)



License Plate System help. - HydraX - 16.06.2010

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.


Re: License Plate System help. - Carlton - 16.06.2010

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



Re: License Plate System help. - HydraX - 16.06.2010

Wow I was too sleepy to notice that. Thanks!


Re: License Plate System help. - HydraX - 16.06.2010

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


Re: License Plate System help. - Antonio [G-RP] - 16.06.2010

should work for anything


Re: License Plate System help. - HydraX - 16.06.2010

It doesn't seem to show.


Re: License Plate System help. - Antonio [G-RP] - 16.06.2010

add the license thingy under OnVehicleSpawn


Re: License Plate System help. - HydraX - 16.06.2010

Doesn't work either.


Re: License Plate System help. - Antonio [G-RP] - 16.06.2010

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


Re: License Plate System help. - HydraX - 16.06.2010

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