Raised This Month: $ Target: $400
 0% 

XP Required %i, Help!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Going Dutch
Member
Join Date: Dec 2013
Old 01-12-2014 , 05:46   Re: XP Required %i, Help!
Reply With Quote #1

Oh i'm sorry Fysiks i thought it was standard to post the full sma.

Line 505


PHP Code:
/*      HUD PERMANENT INFO      */
public ShowHud(task)
{
    new 
id task TASK_SHOW_HUD
    
    
if(!is_user_alive(id))
        return;
    
    
set_hudmessage(025500.020.3300.00.30.00.0)
    
ShowSyncHudMsg (idg_msgHudSync,"[You Are %s]^n[XP : %i / %i ]"Prefix[Level[id]], eXP[id], Levels[id])
    
set_task(0.1"ShowHud"TASK_SHOW_HUD id)    

PHP Code:
ShowSyncHudMsg (idg_msgHudSync,"[You Are %s]^n[XP : %i / %i ]"Prefix[Level[id]], eXP[id], 


Yes xxxperts, you are right.
__________________
Learning amxx/pawn and all that good stuff.

Last edited by Going Dutch; 01-12-2014 at 05:48.
Going Dutch is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-12-2014 , 07:39   Re: XP Required %i, Help!
Reply With Quote #2

Quote:
Originally Posted by Going Dutch View Post
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 View Post
Line 505

PHP Code:
/*      HUD PERMANENT INFO      */
public ShowHud(task)
{
    new 
id task TASK_SHOW_HUD
    
    
if(!is_user_alive(id))
        return;
    
    
set_hudmessage(025500.020.3300.00.30.00.0)
    
ShowSyncHudMsg (idg_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.
fysiks 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 10:14.


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