Dateien

> > CS2D > Lua Scripts > Levels and Exp
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Levels and Exp >

41 Kommentare75 kb, 2.314 Downloads

alt 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
4× editiert, zuletzt 15.01.11 09:32:58
Zugelassen von GeoB99

Download Download

75 kb, 2.314 Downloads

Kommentare

41 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

lilyagirl123
User Off Offline

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

alt

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

alt

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.
Ich mag es!

alt

TK Gunz FBI
User Off Offline

meh its ok I guess
Ich mag es!

alt

DrL
User Off Offline

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

alt

BcY
Reviewer Off Offline

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

maybe user RyceR need to add minute save command? fix it
Ich mag es!

alt

SekYo
User Off Offline

The save xp don't work.

alt

SurfingGamer87
User Off Offline

Awesome script. Thanks!
Ich mag es!

alt

WBR p4nd4
User Off Offline

the problen is:
ºbot don't give exp!
but is good
Ich mag es!

alt

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)
Ich mag es!

alt

bozrok
User Off Offline

whats the purpos of lvling up

alt

Quit123
User Off Offline

ok ok is awesome ! but how to make admins ???
Ich mag es!

alt

UpdateMix
User Off Offline

nice script rycer its awesome
Ich mag es!

alt

connor34
User Off Offline

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

alt

DarkZone147
User Off Offline

good lua scritpt 4 start in your ass
Ich mag es!

alt

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

alt

JONY
User Off Offline

What does every level give the player?:
Ich mag es!

alt

Shock3d
User Off Offline

OK, very good script thx
Ich mag es!

alt

plaYnice
User Off Offline

Thank you man. Good Script. (;
Ich mag es!

alt 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)
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang