Raised This Month: $51 Target: $400
 12% 

Hud Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MercedeSx7
Senior Member
Join Date: Feb 2012
Location: Serbia
Old 01-30-2013 , 08:49   Hud Help
Reply With Quote #1

Hi can enyone help me the hud dosent show :S

PHP Code:
public PokaziInformacije(id)
{
        
id -= ZADATAK_POKAZI_INFORMACIJE;
       
        if(!
is_user_alive(id))
        {
                new 
target entity_get_int(idEV_INT_iuser2);
               
                if(
target == 0)
                        return 
PLUGIN_CONTINUE;
                       
                
set_hudmessage(2552552550.6, -1.000.00.30.00.0);
                
show_hudmessage(id"[Klasa: %s]^n[Iskustvo: %i / %i]^n[Level: %i]^n[Predmet: %s]"naziv_klase[klasa_igraca[target]], iskustvo_igraca[target], iskustvo_levelu[level_igraca[target]], level_igraca[target], naziv_predmeta[informacije_predmet_igraca[target][0]]);
               
                
set_task(0.1"PokaziInformacije"id+ZADATAK_POKAZI_INFORMACIJE);
               
                return 
PLUGIN_CONTINUE;
        }
        else
        {
                
set_hudmessage(0100200, -1.00.006.01.0);
                
show_hudmessage(id"[Klasa: %s]^n[Iskustvo: %i / %i]^n[Level: %i]^n[Predmet: %s]"naziv_klase[klasa_igraca[id]], iskustvo_igraca[id], iskustvo_levelu[level_igraca[id]], level_igraca[id], naziv_predmeta[informacije_predmet_igraca[id][0]]);
 
                
set_task(1.0"PokaziInformacije"id+ZADATAK_POKAZI_INFORMACIJE);
               
                return 
PLUGIN_CONTINUE;
        }
        return 
PLUGIN_HANDLED;

__________________
MercedeSx7 is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 01-30-2013 , 10:24   Re: Hud Help
Reply With Quote #2

Try use SyncHud
TheDS1337 is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 01-30-2013 , 10:41   Re: Hud Help
Reply With Quote #3

Is the function being executed? Put a debug print on the top of the function to check it.


Quote:
Originally Posted by DeagLe.Studio View Post
Try use SyncHud
No.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob 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:03.


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