16.10.2011, 05:05
ou...
pawn Код:
//public ongamemodeinit
for(new i=1; i<MAX_VEHICLES; i++)
{
new string[20];
new Text3D:VeiculoNumero;
format(string,sizeof(string), "Placa-%d%d",10+random(89),10+random(89));
VeiculoNumero = Create3DTextLabel(string, 0xADC7E7AA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
Attach3DTextLabelToVehicle(VeiculoNumero, i, 0.0, 0.0, 0.0);
SetVehicleToRespawn(i);
}
//todos os veнculos irгo nascer com a Label no meio dele ;)