11.12.2011, 08:29
Код:
new Float:x,Float:y,Float:z; GetVehiclePos(carid, x, y, z); ObjectReparation[carid]=CreateDynamicObject(18671, x , y , z , 0.000000, 0.000000, 0.000000,-1,-1,-1,100.0); SetTimerEx("ReparerVehicule", 10000, false, "ii", playerid, carid);
Код:
public ReparerVehicule(playerid, carid, prix) { SetVehicleHealth(carid, 1000.0); RepairVehicle(carid); DestroyDynamicObject(ObjectReparation[carid]); return 1; }