28.09.2018, 14:55
what i need change here?
Код:
public OnVehicleSpawn(vehicleid) { UnlockVehicle(vehicleid); if(!strcmp(VehicleInfo[FindVehicleID(vehicleid)][vOwner], "NoBodY", false) || VehicleInfo[FindVehicleID(vehicleid)][vSellPrice] > 0) UnlockVehicle(vehicleid); else { if(DoesVehicleHaveLock(vehicleid) == true) LockVehicle(-1, vehicleid); } SetTimerEx("ModCar", 1000, 0, "d", vehicleid); ChangeVehiclePaintjob(vehicleid, VehicleInfo[FindVehicleID(vehicleid)][vPaintJob]); return 1; }