local nop = false
function main()
repeat wait(0) until isSampAvailable
sampRegisterChatCommand('nop', tnop)
while true do wait(0)
end
end
function tnop()
if nop == false then
nop = true
sampAddChatMessage("{FFFFFF}nop activated",-1)
else
nop = false
sampAddChatMessage("{FFFFFF}nop deactivated",-1)
end
end
function onReceiveRpc(id, bitstream)
if id == 176 then
return false