- 62
- 10
pikap:
local active = false
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand('pizda', function()
active = not active
sampAddChatMessage(tostring(active), -1)
end)
while true do
wait(5000)
if active then
sampSendPickedUpPickup(2216)
end
end
end