You'd need to put some code on your server too, but you can handle it from the client.ClientCmdLevelUp()commandToClient(%client, 'levelUp');
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)
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.