Car Boards
#1

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);
}
Reply
#2

modify the array from 10 to high somthing else
Reply
#3

that is what I do now?
Reply
#4

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);
}
Reply
#5

Hi man.

If version samp is 0.3c

Use:

Thanks
Reply
#6

samp 0.3b ;]

nor could it's on the picture you can see that it has no plate http://photoupload.pl/?di=1612932478466
Reply
#7

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);
}
Reply
#8

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle

Merry Christmas!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)