|
Author
|
Message
|
|
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
|

01-12-2014
, 07:39
Re: XP Required %i, Help!
|
#1
|
Quote:
Originally Posted by Going Dutch
Oh i'm sorry Fysiks i thought it was standard to post the full sma.
|
It is best to post the whole plugin. I never said that it wasn't. I said that it's better if you attach the .sma file to your post.
Quote:
Originally Posted by Going Dutch
Line 505
PHP Code:
/* HUD PERMANENT INFO */ public ShowHud(task) { new id = task - TASK_SHOW_HUD if(!is_user_alive(id)) return; set_hudmessage(0, 255, 0, 0.02, 0.33, 0, 0.0, 0.3, 0.0, 0.0) ShowSyncHudMsg (id, g_msgHudSync,"[You Are %s]^n[XP : %i / %i ]", Prefix[Level[id]], eXP[id], Levels[id]) set_task(0.1, "ShowHud", TASK_SHOW_HUD + id) }
|
This probably happened because your variable names are vague and make it easy to confuse them.
Levels[id]  Levels[Level[id]]
__________________
Last edited by fysiks; 01-12-2014 at 07:40.
|
|
|
|