Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
Все уже не надо нашел
если кому то надо
function main()
repeat wait(0) until isSampAvailable()
while true do
wait(0)
if isKeyJustPressed(80) and not sampIsChatInputActive() and not sampIsDialogActive() then
sampSendChat("/phone")
end
end
end
function main()
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if wasKeyPressed(VK_P) and not isCursorActive() then
sampSendChat("/phone")
end
end
Все уже не надо нашел
если кому то надо
function main()
repeat wait(0) until isSampAvailable()
while true do
wait(0)
if isKeyJustPressed(80) and not sampIsChatInputActive() and not sampIsDialogActive() then
sampSendChat("/phone")
end
end
end
потому что кто-то злой забыл в начало строки добавить
1:
local vk = require 'vkeys'
function main()
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if wasKeyPressed(VK_P) and not isCursorActive() then
sampSendChat("/phone")
end
end