"Undoing" the admin.tagPlayerId command

Ask questions, discuss ideas, get answers
Post Reply
wasabi
Posts: 18
Joined: Tue Apr 21, 2020 1:16 am

"Undoing" the admin.tagPlayerId command

Post by wasabi »

Hello,

I'm looking at adding a new server admin command called !tag, in order to 'tag' troublemakers / basecampers.

I managed to make a player's name "flash" (visible to all players on both teams, like the CTF flag carrier) using the admin.tagPlayerId command, but the problem is I don't know how to reverse it. A 2nd 'admin.tagPlayerId' does not do it, and the player dying / respawning does not reset it either. The player's name keeps flashing. The only way to seemingly reset it is for the player to reconnect.

Any clues would be appreciated!
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: "Undoing" the admin.tagPlayerId command

Post by freddy »

Just tag another id, preferable one that is not in use (admin.tagPlayerId 200)
wasabi
Posts: 18
Joined: Tue Apr 21, 2020 1:16 am

Re: "Undoing" the admin.tagPlayerId command

Post by wasabi »

Thank you that worked! :D
Post Reply