Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- repeat wait(0) until isSampAvailable()
- wait(2000)
- sampRegisterChatCommand('dialog', dialog)
- sampAddChatMessage('Loaded', -1)
- while true do
- wait(0)
- end
- end
- function dialog()
- sampShowDialog(666, '{FF5656}Boost Kills for Monser', '1 maps\n2 maps\n3 maps', 'Open', '', 2)
- lua_thread.create(checker)
- end
- function checker()
- while sampIsDialogActive() do
- wait(0)
- local result, button, list, input = sampHasDialogRespond(666)
- if result and list == 0 then
- while true do wait(0)
- setCharCoordinates(playerPed,-446.9899,2262.2036,44.1329) end
- elseif refult and list == 1 then
- setCharCoordinates(playerPed,0,0,0)
- elseif refult and list == 2 then
- setCharCoordinates(playerPed,90,60,90)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement