Possible to make a random tail number then...?
#10

Quote:
Originally Posted by Krx17
Посмотреть сообщение
You can just run a loop.
pawn Код:
for(new i = 0; i < 100; i++)
{
    new mycar = CreateVehicle(...);
    new string[30];
    format(string, 30, "PFG%d", random(30));
    new tailnumber = Create3DTextLabel(string, ...);
    Attach3DTextLabelToVehicle(tailnumber, mycar, 0, -5, 5);
}
Alright but I don't have only planes I have vehicles too lol
so ill need to use my if(IsVehicleAirBorne( GetVehicleModel( GetPlayerVehicleID( playerid ) ) ) )
function
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)