Vendeliko
Banned User
- Joined
- Dec 3, 2011
- Messages
- 3,087
- Reaction score
- 90
Hey guys,could anyone please make me a script that will not allow players to get a higher level than 150?
I have found this when searching:
But for some reason it does not work,I keep getting level after I reached 150.
Also not sure if it makes any difference but I need it to work with PK exp and not monster exp
Im using rev 4269.
Thanks in advance,
Vendeliko.
I have found this when searching:
Find function like this in player.h:
[cpp]static uint64_t getExpForLevel(uint32_t lv)
{[/cpp]
and after that add:
[cpp]if(lv > 2000)
return 0;[/cpp]
But for some reason it does not work,I keep getting level after I reached 150.
Also not sure if it makes any difference but I need it to work with PK exp and not monster exp
Im using rev 4269.
Thanks in advance,
Vendeliko.
Last edited: