Raised This Month: $ Target: $400
 0% 

Hud Not Updating Properly? o.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Bombe_
New Member
Join Date: Dec 2011
Old 06-23-2012 , 00:26   Hud Not Updating Properly? o.0
#1

hi. ok so my ShowHud function is not updating properly. it says Level: 0 XP: 0 SkillPoints: 0
but when i type /xp which runs the showhud function it goes to Level : 0 XP: 40 SkillPoints: 0
really fast. then goes back to 0 for all.

Code:
set_task(0.1,"ShowHud",0,"",0,"b")
and

Code:
public ShowHud(id) {
    set_hudmessage(255, 0, 0, 0.75, 0.01, 0, 6.0, 15.0);
    show_hudmessage(id, "Level: %i^nXP: %i^nSkill Points: %i", PlayerLevel[id], PlayerXP[id], PlayerSkills[id]);
}
any help would be apreciated. I'm new to this so yea. ^-^
Bombe_ is offline
 



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 06:14.


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