local ev = require 'lib.samp.events'
function kall()
if lastpos ~= nil then
setCharCoordinates(playerPed, lastpos.x, lastpos.y, lastpos.z)
lastpos = nil
else
sampAddChatMessage("{ff0000}нету метки", -1)
end
end
function ev.onSetMapIcon(iconId, position, type, color, style)
if iconId == 98 then
lastpos = position
end
end