I find a bug, sometimes i turn on adminesp with sm_adminesp every player see the points (dead and alive players). And if i turn on sm_adminesp or sm_adminesp 1, sometimes the other players see points, on some player (not in everyone)
I'm using the last metamod and sourcemod.
i make some help for users
adminmenu:
copy this your adminmenu_custom.txt
Code:
"ServerCommands"
{
"spect esp"
{
"cmd" "sm_adminesp #1 #2"
"admin" "sm_ban"
"execute" "player"
"1"
{
"type" "teamplayer"
"method" "name"
"title" "Player:"
}
"2"
{
"type" "onoff"
"title" "spect esp:"
}
}
}
Or if you want use one script, copy this in your autoexec.txt
Code:
alias "on" "sm_adminesp 1"
alias "off" "sm_adminesp 0"
alias "adminesp" "esp.on"
alias "esp.on" "on;alias adminesp esp.off"
alias "esp.off" "off;alias adminesp esp.on"
bind "o" "adminesp"
you can tur on/off adminesp with "o"