Hello all,
I would like to know if it is possible with the addon "vrondakis leveling system" to increase the gain of xp ? for example :
if the players are higher than lvl 20 they earn xp * 2 at lvl 30 xp * 3 etc etc...
because i have set 1000xp/3min for the first level it goes well but from lvl 20 it takes a lot of time i just want it to be faster, wait 5 days for a single level is not funny
or just xp * 2 if players are VIP
if you could help me, i'm a begginer at this, and sorry for my bad english ^^
Why don’t you ask vrondakis?
https://github.com/vrondakis/Leveling-System/blob/master/addons/darkrpmodification/lua/darkrp_modules/levels/sv_levels.lua#L21, seems to be possible by default
In the config file:
LevelSystemConfiguration.XPMult = 1 // How hard it is to level up. 2 would require twice as much XP, ect.
Isn't that the same?
check if they are above level x and than add a new config for those level x or above players
/be sure to only check their level once they get experience so it's kinda optimized/
Thank you but i am a very very newbie in lua and i don't know where to put this line of code and what i have to type to have what you sayed
"i am a very very newbie in lua" usually means that you don't know anything about it at all, you don't want to know anything about it, but you wan't to get a solution. The best option for you is gmodstore (hire someone and actually pay them), but you can also wait for a spoon from someone.
No i want to learn but the level system is my first addon that i want to change this is why i sayed that, befor that i have never open or change a .lua file this is a complete new world for me and i'm lost
This is probably not your best first step. Take some time, read through these first, and try something simpler.
I feel like you're going to be impatient and "need" it done now, in which case you're in way over your head.
i know it's probably big but i want to have my double xp so bad haha ^^
i have ( probably ) found the code where the XP is given to the player every x time, this one :
https://pastebin.com/MigP3kKd
is it possible to get the code for the darkrp double salary and change it to have the double xp for vip, i have tried to change it for the xp, i did this, is this correct ???
if table.HasValue({"vip"}, ply:GetUserGroup()) then
local PlayerXP = tonomber * 2
return false, "XP double pour les membres VIP.", newsal
end
Even if you spell it right it doesn't make sense. Read SweptThrone's post once again and accept it.
Stop being impatient and go study Lua. Otherwise create a job at gmodstore.com.
Sorry, you need to Log In to post a reply to this thread.