Jó estét mindenkinek!
Szval gondolkoztam hogyan oldjam meg a rendszámtáblát, meg is alkottam, de a Mentõ rendszámát mutatja mindenüt! Az-az minden kocsin!
Ez a mentõé:
new numberplate[ 26 + 1 ];
Mento[0] = CreateVehicle( 416, 2439.1829, 115.4957, 26.6220, 359.3107, 1, 3, 10 * 60 );
Mento[1] = CreateVehicle( 416, 2442.5134, 84.7950, 26.6280, 270.4174, 1, 3, 10 * 60 );
Mento[2] = CreateVehicle( 416, 2428.7710, 128.5351, 26.6169, 269.4247, 1, 3, 10 * 60 );
Mento[3] = CreateVehicle( 598, 2439.8420, 102.4057, 26.2056, 270.4960, 3, 1, 10 * 60 );
for( new i; i < sizeof(Mento); i++ ) {
format( numberplate, (26), \"{ff8000}AMB-%03d\", i );
SetVehicleNumberPlate( Mento, numberplate );
}
Ez meg a rendõré:
Rendor[0] = CreateVehicle( 598, 2248.9092, -77.7590, 26.2683, 180.7282, 0, 53, 10 * 60 );
Rendor[1] = CreateVehicle( 598, 2252.6501, -83.1449, 26.2720, 179.6661, 0, 53, 10 * 60 );
Rendor[2] = CreateVehicle( 598, 2256.8289, -83.0775, 26.2712, 180.3075, 0, 53, 10 * 60 );
Rendor[3] = CreateVehicle( 599, 2261.4553, -83.0255, 26.7174, 178.8629, 0, 53, 10 * 60 );
Rendor[4] = CreateVehicle( 599, 2266.6404, -83.0354, 26.7158, 179.1107, 0, 53, 10 * 60 );
for( new i; i < sizeof(Rendor); i++ ) {
format( numberplate, (26), \"{ff8000}RDV-%03d\", i );
SetVehicleNumberPlate( Rendor, numberplate );
}
Valakinek valami ötlete??