• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 0.X remove an specific addon from every player

Lurk

Active Member
Joined
Dec 4, 2017
Messages
336
Reaction score
49
I'm wondering how can I remove the addon wayfarer from all of my players; I want to remove only addon 1 and 2, they can keep the base outfit
Just tried
SQL:
DELETE FROM [ICODE]player_storage[/ICODE] WHERE [ICODE]key[/ICODE] = 999999;
but it didn't work, anyone knows how to?
 
Solution
E
you could use a player:hasOutfit(lookType, addons) check on login script and remove it with player:removeOutfitAddon(lookType, addons), and use a storage check to do it only once
you could use a player:hasOutfit(lookType, addons) check on login script and remove it with player:removeOutfitAddon(lookType, addons), and use a storage check to do it only once
 
Solution
Back
Top