Author Topic: is a client level up system posable?  (Read 897 times)

I wanted to know if you can make a client sided mod. With a level up bat and a xp to next rank and current rank system im pretty sure you can because of that achivement mod a while back thnx

No, you can't. Also the achievement mod was for both clients and servers.

Instead of making 5 topics a day, why not look at some tutorials?


You'd need to put some code on your server too, but you can handle it from the client.
ClientCmdLevelUp()
commandToClient(%client, 'levelUp');

So only servers with mod addons can run it D: kk

You'd need to put some code on your server too, but you can handle it from the client.
ClientCmdLevelUp()
commandToClient(%client, 'levelUp');
Nope. No server needed. If I wasn't leaving tomorrow I would write it. Subpixel, an important lesson to coding is to think outside the box. You could always get your player score through the playerlist GUI and calculate stuff from there. Not efficient, but it can be done. All depends on how the score system works on each server.

Code: [Select]
function getScore(%guy)
{   
     for (%i = 0;%i<NPL_List.rowCount();%i++)
     {
          %rowText = NPL_List.getRowText(%i);
         
          if(getField(%rowText, 1) $= %guy) //would it be getField or getWord
          {
               return getField(%rowText, 2);
          }
     }
     
     return 0;
}

Code: [Select]
function getScore(%guy)
I believe he meant a novel level-up system, not how to get the score from the player list.

But yes, indeed that will get the score from the player list.

I believe he meant a novel level-up system, not how to get the score from the player list.

But yes, indeed that will get the score from the player list.
k ima make it probs