I want to remove the sampRegisterChatCommand and use only isKeyJustPressed (VK_P)
function main()
while not isSampAvailable() do wait(0) end
if not sampIsLocalPlayerSpawned() then return false end
sampRegisterChatCommand('pzda', function() -- pzda - abbreviated Russian bad word :D...