• 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.3.6] OUTFITS Whit out premmy

nefinoo

Carnage.flv
Joined
Sep 11, 2010
Messages
566
Solutions
1
Reaction score
65
Location
Lo Mochis, Sinaloa
Well i put the premium off in my server, and i wanna know if the players can get all the addons or the outfits whit out premmy
 
According to the sources, yes
Code:
                else if(!g_config.getBool(ConfigManager::ADDONS_PREMIUM) || player->isPremium())
                    msg->AddByte(it->addons);
https://github.com/Jo-Tran/cryingda...f21b5602cde8a6771a2f4d/protocolgame.cpp#L2523

What that says is if addonsOnlyPremium (aka ADDONS_PREMIUM) is set to false convert it to true or if the player is premium then allow the addons for the player, I am generalizing here.

Either of those conditions can be true to allow addons for the player, this is what or ( || ) does to a comparison of 2 or more operands.
 
Last edited:
Back
Top