Car Boards - 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: Car Boards (
/showthread.php?tid=202743)
Car Boards -
Inaro95 - 25.12.2010
I have a problem, I want to make car plates that each car has a plate, of course, everyone will have a different number ... arrays can not see because I'm doing something wrong but I do not know what else, help
Код:
new Text3D:Reg[MAX_VEHICLES];
OnGameModeInit
Код:
new str[10];
for(new d=1; d<100; d++)
{
format(str,10,"Los Santos 00%d",d);
Reg[d] = Create3DTextLabel(str, 0x43ADADFF , 0.0, 0.0, 0.0, 15.0, 0, 1);
}
Re: Car Boards -
TheArcher - 25.12.2010
modify the array from 10 to high somthing else
Re: Car Boards -
Inaro95 - 25.12.2010
that is what I do now?
Re: Car Boards -
TheArcher - 25.12.2010
try
pawn Код:
new str[32];
for(new d=1; d<100; d++)
{
format(str,10,"Los Santos 00%d",d);
Reg[d] = Create3DTextLabel(str, 0x43ADADFF , 0.0, 0.0, 0.0, 15.0, 0, 1);
}
Respuesta: Car Boards -
ipsBruno - 25.12.2010
Hi man.
If version samp is 0.3c
Use:
Thanks
Re: Car Boards -
Inaro95 - 25.12.2010
samp 0.3b ;]
nor could it's on the picture you can see that it has no plate
http://photoupload.pl/?di=1612932478466
Respuesta: Car Boards -
ipsBruno - 25.12.2010
And Postions of Vehicle?
Sorry,i know your question..
Here:
pawn Код:
new str[32];
for(new d=1; d<100; d++)
{
new Float:x,Float:y,Float:z;
GetVehiclePos(vehicleid,x,y,z);
format(str,10,"Los Santos 00%d",d);
Reg[d] = Create3DTextLabel(str, 0x43ADADFF ,x,y,z, 15.0, 0, 1);
}
Re: Car Boards - [L3th4l] - 25.12.2010
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle
Merry Christmas!