SA-MP Forums Archive
Help With Licence Plate - 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: Help With Licence Plate (/showthread.php?tid=258139)



Help With Licence Plate - Shidony - 29.05.2011

Hi everybody !

Today i need your help for an easy thing ( in think ^^ ). I just want to make some licence plates in my server, with some colours. I know it is possible because i saw this on a server but i don't know how to do that ^^

Can you help me ?

PS: Sorry for my bad english i'm french ^^


Re: Help With Licence Plate - TouR - 29.05.2011

You mean license plates using 3d labels?


Re : Help With Licence Plate - Shidony - 29.05.2011

No, real licence plates, wich are on vehicles


Re: Help With Licence Plate - Wesley221 - 29.05.2011

Only thing i know, is that you can set the numberplate by "SetVehicleNumberPlate(vehicleid, numberplate);"
Dont know what to do with colors in it, never seen it before


Re: Help With Licence Plate - Calgon - 29.05.2011

You can use the standard colour embedding in number plates, though there are some things you should note: An example of a white number plate with colour embedding would be:
pawn Код:
SetVehicleNumberPlate(GetPlayerVehicleID(playerid), "{FFFFFF}A0AO0A");



Re : Help With Licence Plate - Shidony - 29.05.2011

Thanks i'll test !


Re: Help With Licence Plate - ColdIce - 29.05.2011

public OnVehicleSpawn(vehicleid)
{
new rand = random(3000); rand += 1500;
new string[32];
format(string, sizeof(string), "{D20000}RENAMEME", rand);
SetVehicleNumberPlate(vehicleid, string);
}