• 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!

Lua Where is function

Maxilos1221

New Member
Joined
Sep 3, 2017
Messages
3
Reaction score
0
Hi. I need to find function addPremiumDays, because i need change something in this function.
I'm looking in data/lib and globals.lua, but i not find this function in lua files

or tell me how to set player as premium without using addPremiumDays
 
Last edited by a moderator:
Hi. I need to find function addPremiumDays, because i need change something in this function.
I'm looking in data/lib and globals.lua, but i not find this function in lua files

or tell me how to set player as premium without using addPremiumDays

Dude really? The search function is pretty easy to use, and it's in repositories, text editors, file managers, and in this site. If you can't figure out how to find it, I'm sorry to say I'm doubting you're going to be adding anything useful to the function anyways.

Also read this thread entirely, it's really helpful as well. Rules for the Support board

Consider this a generous gift my man. Assuming you're using a newer TFS version(reason why I say to read the rules). 'data/lib/compat/compat.lua' and 'src/luascript.cpp' is the file directories you are looking for.
 
why do you need to change something about premium days
the function does what it's supposed to. if you're gonna add something dumb to it, make a new function instead of altering a perfectly working one
 
No talking, no help.
If you don't even explain what you need exactly on this function, we cannot help you.
 

Similar threads

Back
Top