public OnVehicleSpawn(vehicleid) { for(new vehid; vehid < MAX_VEHICLES; vehid++) { new message[128]; format(message,sizeof(message), "DLRP %i1", vehid); VehicleLicense[vehid] = Create3DTextLabel(message, 0xD40000AA, 0.2, 0.2, 0.2, 50.0, 0, 1); Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.2, 0.2, 0.2); } return 1; }
I have
Код:
public OnVehicleSpawn(vehicleid) { for(new vehid; vehid < MAX_VEHICLES; vehid++) { new message[128]; format(message,sizeof(message), "DLRP %i1", vehid); VehicleLicense[vehid] = Create3DTextLabel(message, 0xD40000AA, 0.2, 0.2, 0.2, 50.0, 0, 1); Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.2, 0.2, 0.2); } return 1; } |
public OnVehicleSpawn(vehicleid)
{
new message[24];
format(message,sizeof(message), "%c%c%c%c %i1",(65+random(26)),(65+random(26)),(65+random(26)), vehid);
VehicleLicense[vehid] = Create3DTextLabel(message, 0xD40000AA, 0.2, 0.2, 0.2, 50.0, 0, 1);
Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.2, 0.2, 0.2);
return 1;
}
public OnVehicleSpawn(vehicleid)
{
new message[24];
format(message,sizeof(message), "%c%c%c%c %i1",(65+random(26)),(65+random(26)),(65+random(26)), vehid);
SetVehicleNumberPlate(vehicleid,message);
return 1;
}
[pawn]
pawn Код:
|