Raised This Month: $ Target: $400
 0% 

Help with this script...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 11-13-2005 , 05:41  
Reply With Quote #1

here it is
Code:
public ShowHUD(id) {     new HUD[512]     new NextLevelXP = LEVELS[PlayerLevel[id]+1]     format(HUD, 511, "[%s] Level: %i XP: %i / %i", CLASSES[PlayerClass[id]], PlayerLevel[id], PlayerXP[id], NextLevelXP)     message_begin(MSG_ONE, msgtext, {0,0,0}, id)     write_byte(0)     write_string(HUD)     message_end()     return PLUGIN_HANDLED }
i know u have to do something bout level 10 in this thing...
Code:
new NextLevelXP = LEVELS[PlayerLevel[id]+1]
but that doesn't matter. I don't think thats the problem...if the level was 10 then indexed would be 11, right? so the prob is that I am gaining levels all the time and i don't know why... and it starts at lvl 1. i want it to start at lvl 0...
[ --<-@ ] Black Rose is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode