Need Car Number - 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: Need Car Number (
/showthread.php?tid=284171)
Need Car Number -
deqn_0000 - 18.09.2011
Some 1 can give me any script for car number for example the number to be Kawasaki , not XYZX DDD here >>
http://imageshack.us/f/641/numberr.png/
Re: Need Car Number -
=WoR=Varth - 18.09.2011
https://sampwiki.blast.hk/wiki/SetVehiclePlate
Re: Need Car Number -
[LHT]Bally - 18.09.2011
i use this is my gamemode ?
pawn Код:
{
SetVehicleNumberPlate(e, "{FF0000}text you want here ");
SetVehicleToRespawn(e);
}
change the hex code as its set to colour red.
Re: Need Car Number -
deqn_0000 - 18.09.2011
@[LHT]Bally where in gamemode to put this code??
Re: Need Car Number -
[MWR]Blood - 18.09.2011
Quote:
Originally Posted by [LHT]Bally
i use this is my gamemode ?
pawn Код:
{ SetVehicleNumberPlate(e, "{FF0000}text you want here "); SetVehicleToRespawn(e); }
change the hex code as its set to colour red.
|
You missed the loop.
OT: Do you only want the 'Kawasaki' numberplate to show only on a certain vehicle?
Re: Need Car Number -
deqn_0000 - 18.09.2011
I wanna "Kawasaki" on all vehicles
Re: Need Car Number -
=WoR=Varth - 18.09.2011
pawn Код:
for(new i=1;i<=MAX_VEHICLES;i++)
{
SetVehicleNumberPlate(i,"Kawasaki");
SetVehicleToRespawn(i);
}
Re: Need Car Number -
[LHT]Bally - 18.09.2011
i have it under ongamemodeinit
this is all i have in there to do with plates , im sure someone will correct me if this is wrong
pawn Код:
for(new e=1; e<MAX_VEHICLES; e++)
{
SetVehicleNumberPlate(e, "{FFFFFF}Kawasaki");
SetVehicleToRespawn(e);
}
Re: Need Car Number -
deqn_0000 - 19.09.2011
[LHT]Bally I put that but again the number is like my 1st post
Re: Need Car Number -
=WoR=Varth - 19.09.2011
Quote:
Originally Posted by deqn_0000
[LHT]Bally I put that but again the number is like my 1st post
|
What do you mean? And make sure it's "<="
EDIT: Also make sure you do the loop after creating the vehicles.