Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
wwww
--lua 5.3 print ("by rdnkv!") local samp = require 'samp.events' function samp.onSendPlayerSync(data) printStringNow(data.keysData..'~n~'..getKeys(data.keysData), 1000) end function getKeys(data) local keys = { ['Tab'] = 1, ['C'] = 2, ['Ctrl'] = 4, ['Sprint'] = 8, ['Enter'] = 16, ['Jump'] = 32, ['RMB'] = 128, ['MMB'] = 512, ['Alt'] = 1024, ['Num 4'] = 8192, ['Num 6'] = 16384, } local pressed = '' for k, v in pairs(keys) do if bit.band(data, v) > 0 then pressed = pressed == '' and k or pressed..' + '..k end end return pressed == '' and 'No' or pressed end
run
|
edit
|
history
|
help
0
Creating habits v3, Lua
dd
For your YouTube comment section. (updated)
cases
PAID HACK PuBG
Random Item Generator (1 year)
PAID HACK PuBG
Monty Hall Problem Simulated
123
RSA KEY GENERATOR (LUA)