Files

> > CS2D > Lua Scripts > Levels and Exp
Files overviewCS2D overviewLua Scripts overview

English Levels and Exp >

41 comments75 kb, 2,371 Downloads

old Levels and Exp

RyceR
User Off Offline

> Levels and Exp <
-- 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
Approved by GeoB99

Download Download

75 kb, 2,371 Downloads

Comments

41 comments
Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

lilyagirl123
User Off Offline

Hey, please edit the save_die(id) function to: "function save_die(id) save_leave(id) end"

old

Hajt
User Off Offline

That's your code:
1
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
You are doing it wrong. You shouldn't update the hud every 100 ms :s

old

HOLOgraphicSky
User Off Offline

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 like it!

old

TK Gunz FBI
User Off Offline

meh its ok I guess
I like it!

old

DrL
User Off Offline

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

old

BcY
Reviewer Off Offline

@user SekYo: Yes,there is a problem with saving.

maybe user RyceR need to add minute save command? fix it
I like it!

old

SekYo
User Off Offline

The save xp don't work.

old

SurfingGamer87
User Off Offline

Awesome script. Thanks!
I like it!

old

WBR p4nd4
User Off Offline

the problen is:
ºbot don't give exp!
but is good
I like it!

old

AbAeterno
User Off Offline

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)
I like it!

old

bozrok
User Off Offline

whats the purpos of lvling up

old

Quit123
User Off Offline

ok ok is awesome ! but how to make admins ???
I like it!

old

UpdateMix
User Off Offline

nice script rycer its awesome
I like it!

old

connor34
User Off Offline

@RyceR can i change so you can get things on levels?

old

DarkZone147
User Off Offline

good lua scritpt 4 start in your ass
I like it!

old

RyceR
User Off Offline

@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

old

JONY
User Off Offline

What does every level give the player?:
I like it!

old

Shock3d
User Off Offline

OK, very good script thx
I like it!

old

plaYnice
User Off Offline

Thank you man. Good Script. (;
I like it!

old HELP !

phihung940
User Off Offline

Hey man, I got this error spam when using your script:
1
LUA ERROR: sys/lua/lvl_exp.lua:38: attempt to index global 'level' (a number value)
To the start Previous 1 2 3 Next To the start