local sampev = require("samp.events") local removed_objects = {} -- Define and initialize the removed_objects table local removed_object_id = 0 function sampev.onRemoveBuilding(modelId, position, radius) for i=1, 1001 do removed_object_id = i if removed_objects[i] and removed_objects[i][1] == modelId and removed_objects[i][2] == position.x and removed_objects[i][3] == position.y and removed_objects[i][4] == position.z then return false end end removed_objects[removed_object_id] = {modelId, position.x, position.y, position.z} end

P.S. Кому надо, переведу на dll, asi, sf
Файл:

Сообщение отредактировал 21th year: 26 января 2024 - 23:24