Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Level 200 Npc

Smoke & Fly
Loyal Member
Joined
Apr 21, 2008
Messages
1,190
Reaction score
76
PHP:
var lups = 200 - cm.getPlayer().getLevel();
for (var i = 0; i < lups; i++)
    cm.getPlayer().levelUp();
cm.sendOk("Level up x#b" + lups + "#k\r\nThat would be #r" + lups*10000000 + " Mesos#k!");
Another way to put it?
 
Last edited:
offonline
Loyal Member
Joined
Aug 5, 2009
Messages
1,403
Reaction score
164
First sec i saw this, i thought about what's wrong with loops ):?
 
Newbie Spellweaver
Joined
May 5, 2009
Messages
24
Reaction score
1
I dont Care Ok??? I can do anything i want -.- Stop Insulting my Scripting Style!
 
Junior Spellweaver
Joined
Nov 12, 2009
Messages
163
Reaction score
7
Kevin, if you want to avoid flaming, then develop your coding skills more before you post on a forum like ragezone.

p.s. this is not a flame
 
offonline
Loyal Member
Joined
Aug 5, 2009
Messages
1,403
Reaction score
164
How is flaming you sucking up to pros? i'm flaming you pure out of personal hate towards you.

<3 Let's say moogra released this, you would be liek :
AWESOME MAN!! this is awesome...poop...:blushing:
 
Newbie Spellweaver
Joined
Nov 23, 2009
Messages
90
Reaction score
18
Why not make a setLevel() function? Easy way to do it, and can be useful for other things.


EDIT: Wow the person above me beat me to it :p
 
Back
Top