30.05.2011, 18:36
Here something i just wrote :
pawn Код:
new
Text3D: VehicleLabel[ MAX_VEHICLES ];
public OnGameModeInit()
{
Attach3DText();
return 1;
}
stock Attach3DText()
{
for(new vehicleid; vehicleid < MAX_VEHICLES; vehicleid++)
{
VehicleLabel[ vehicleid ] = Create3DTextLabel("Veh text", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
Attach3DTextLabelToVehicle( VehicleLabel[ vehicleid ], vehicleid, 0.0, 0.0, 2.0);
}
}