[Request] Using /showradar to enable mod

I want to use this script but have it activated only when i type /showradar and deactivated when I type /hideradar.

Can someone help?

Here you go, just type /toggleradar in chat to toggle it on/off.

wk-speedcamera.zip (1.6 KB)

@WolfKnight179 Can you help me? I would like this system to work only for police officers and not for all players, is it possible? I use dunko vrp v6.6 server

Yes this is very possible just add aceperms to the script. If you need help I can just do it for you.

you could do this for me?

I wish only those in this group could have access to the command

server\resources\vrp\cfg

[“Police”] = {
_config = {
gtype = “job”,
onjoin = function(player) vRPclient.setCop(player,{true}) end,
onspawn = function(player) vRPclient.setCop(player,{true}) end,
onleave = function(player) vRPclient.setCop(player,{true}) end
},
“Officer.cloakroom”,
“highway.cloakroom”,
“police.pc”,
–“police.handcuff”,
“police.putinveh”,
“police.getoutveh”,
“police.drag”,
“police.easy_cuff”,
“police.easy_fine”,
“police.easy_jail”,
“police.easy_unjail”,
“police.spikes”,
“police.menu”,
“police.check”,
“toggle.service”,
“police.freeze”,
“police.service”,
“police.wanted”,
“police.seize.weapons”,
“police.seize.items”,
–“police.jail”,
–“police.fine”,
“police.announce”,
– “-police.store_weapons”,
“-police.seizable”, – negative permission, police can’t seize itself, even if another group add the permission
“police.vehicle”,
“police.loadshop”,
“cop.whitelisted”,
–“player.list”,
“police.paycheck”,
“police.mission”,
“player.blips”,
“police.menu_interaction”
},