sampev = require "samp.events"
function main()
while not isSampAvailable() do wait(100)end
sampRegisterChatCommand('xuyandok',command)
while true do wait(0) end end
function command()
local result, x, y, z = SearchMarker(posX, posY, posZ, radius, isRace)
что добавить что убрать? нужно...