Need some help with Food Mod 2
Last read Never
Ok I made a support ticket yesterday, but let's face it Rocketmania hasn't been on for a month so He won't be replying any time soon
Anyway I need some help making it so all players can buy from the F7 menu from the addon rather than just one Team.
This is the code:
function FM2_Config:PlayerCanBuyFoodFromF7Shop(ply)
if ply:Team() == TEAM_COOK then return true end -- Allow access
return false
end
as you can see it's team restricted, any help?
Thanks
-Tom
Is this his code?
It can be easily reduced to:
return ply:Team() == TEAM_COOK
Anyways, just replace all the code inside function with:
return true
Users viewing this thread
Nobody