SA-MP Forums Archive
String - 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)
+--- Thread: String (/showthread.php?tid=279132)



String - SpankMe2 - 25.08.2011

Hey can anyone help me with a string that doesnt carry a varible it just carrys some text and a colour

format(string, 25, "LV:S"...... Its for a car plate


Re: String - Dragony92 - 25.08.2011

SetVehicleNumberPlate(GetPlayerVehicleID(playerid) , "~b~LV:S");
?


Re: String - SpankMe2 - 25.08.2011

Im trying to add a colour to it though and you need a string for that


Re: String - Dragony92 - 25.08.2011

You dont need string :/
SetVehicleNumberPlate(GetPlayerVehicleID(playerid) , "{FF0000}LV:S");
Just enter code for color... http://www.computerhope.com/htmcolor.htm


Re: String - SpankMe2 - 25.08.2011

Oh ok