Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
require "lib.moonloader"
function main()
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if wasKeyPressed(VK_R) then
result, id = sampGetPlayerIdByCharHandle(PLAYER_PED)
sampSendChat('/id '..id)
end
end
end
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Lua:
require "lib.moonloader"
function main()
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if wasKeyPressed(VK_R) then
result, id = sampGetPlayerIdByCharHandle(PLAYER_PED)
sampSendChat('/id '..id)
end
end
end
require "lib.moonloader"
function main()
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if wasKeyPressed(VK_R) then
result, id = sampGetPlayerIdByCharHandle(PLAYER_PED)
sampSendChat('/id '..id)
end
end
end