"Undoing" the admin.tagPlayerId command

Ask questions, discuss ideas, get answers

"Undoing" the admin.tagPlayerId command

Postby wasabi » Tue May 05, 2020 6:07 pm

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!
wasabi
 
Posts: 18
Joined: Tue Apr 21, 2020 1:16 am

Re: "Undoing" the admin.tagPlayerId command

Postby freddy » Thu May 14, 2020 10:39 pm

Just tag another id, preferable one that is not in use (admin.tagPlayerId 200)
User avatar
freddy
 
Posts: 1247
Joined: Sun Oct 18, 2009 4:58 pm

Re: "Undoing" the admin.tagPlayerId command

Postby wasabi » Sun May 17, 2020 2:56 am

Thank you that worked! :D
wasabi
 
Posts: 18
Joined: Tue Apr 21, 2020 1:16 am


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: No registered users and 54 guests

cron