Hi guys!!! , I use a lot of HG on my server and the players are very happy, FOUGERITE is incredible .. It happens a problem when during a game of HG the server crash for some reason that in DataStore is recorded the SteamID that is in "HGIG" then the player Can not use TP, this is easy to solve if that player returns to play HG, then when the game ends You can reuse TP
This is part of the code TpFriend:
Python:
if DataStore.ContainsKey("HGIG", playertor.SteamID):
Player.MessageFrom(self.sys, "You cannot teleport to this guy currently!")
return
This situation causes problems with LegitRaid (players can loot everything):
C#:
if (!lootstartevent.IsObject || DataStore.GetInstance().ContainsKey("LegitRaidA", lootstartevent.Player.UID)
|| DataStore.GetInstance().ContainsKey("HGIG", lootstartevent.Player.SteamID)) {return;}
My question is:
Anyone can give me a piece of code in Python or C # to DELETE ALL SteamsIDS that contain the string "HGIG" and to solve this easier? Please for me it would be great help
Thank you very much and I am waiting for an answer (you are incredible)