26.01.2013, 13:46
I'm using a stock, LoadPlates but it's not working very well, I've few types of plates, STOCK:
But it's not loading all the plates, around five for each SetVehicleNumberPlate. For MedicVehicle five and same with GuardVehicle and CopVehicle.
When I did only one SetVehicleNumberPlate:
Then all the CopVehicle had LSPD plate.
Код:
stock LoadPlates() { for(new i=0; i<MAX_VEHICLES; i++) { SetVehicleNumberPlate(IsCopVehicle(i), "LSPD"); SetVehicleNumberPlate(IsMedicVehicle(i), "LSEMS"); SetVehicleNumberPlate(IsGuardVehicle(i), "DoC"); } print("Plates sucessfully loaded."); return 1; }
When I did only one SetVehicleNumberPlate:
Код:
stock LoadPlates() { for(new i=0; i<MAX_VEHICLES; i++) { SetVehicleNumberPlate(IsCopVehicle(i), "LSPD"); } print("Plates sucessfully loaded."); return 1; }