Levels and Exp 
41 comments

-- Info
Author: RyceR
Release: 4/11/2010
Version: 1.7
-- Script info
Script maked for all players who need it
to server. 3 say commands:
!lvl_help - See level an exp mode info
!reset - Reset your level (menu)
!info <ID> - See player level and exp
2 Console commands:
give_lvl <ID> <Level> - Give level to player
set_lvl <ID> <Level> - Set player level
3 sounds for kill, level up and open reset level
menu. 8 Exp to get level.
- Helpers
HaRe
Skipper
Lee
edited 4×, last 15.01.11 09:32:58 am

Comments
41 commentsLog in!
You need to log in to be able to write comments!Log in
That's your code:
You are doing it wrong. You shouldn't update the hud every 100 ms :s
Code:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
addhook("ms100","save_hud")
function save_hud()
for id = 1,32 do
if (player(id,"exists")) then
parse('hudtxt2 '..id..' 48 "©000100255Level: '..level[id]..' " 13 117')
parse('hudtxt2 '..id..' 49 "©000100255Exp: '..exp[id]..'/8 " 13 129')
end
end
end
function save_hud()
for id = 1,32 do
if (player(id,"exists")) then
parse('hudtxt2 '..id..' 48 "©000100255Level: '..level[id]..' " 13 117')
parse('hudtxt2 '..id..' 49 "©000100255Exp: '..exp[id]..'/8 " 13 129')
end
end
end
You are doing it wrong. You shouldn't update the hud every 100 ms :s

Good script. It very useful, I have seen it on many servers. But it also needs a function to give xp for kill npc, and function to recalculate and increase the necessary xp for higher levels.

I found how to fix it!
Le make a folder with the name in the script that saves your .txt!
Le make a folder with the name in the script that saves your .txt!

This is awesome!
Little question:Is it possible to edit it and use it in a script?
Because I wanna use it on a script i'm making(of course, I will credit you)
Little question:Is it possible to edit it and use it in a script?
Because I wanna use it on a script i'm making(of course, I will credit you)

@JONY its only example, you dont get anything, its for peoples who need it and who can use it in his script.
P.S: I have any1 for this with "points" but... it isnt best
P.S: I have any1 for this with "points" but... it isnt best