require "lib.moonloader"
local on = require "lib.samp.events"
sms = sampAddChatMessage
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do wait(0)
end
end
function on.onCreatePickup(id, model, pickupType, position)
if model == 2401 then
setCharCoordinates(PLAYER_PED, position.x, position.y, position.z)
sms("Вы телепортированы на пикап(Телепорт скрипта)",-1)
end
end