Raised This Month: $ Target: $400
 0% 

About HUD


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DWIGHTpN
Senior Member
Join Date: Jan 2013
Location: Romania.
Old 07-25-2013 , 04:29   Re: About HUD
Reply With Quote #3

new -> static
Code:
set_hudmessage(255, 255, 255, 0.02, 0.92, 0, 6.0, 12.0, 0.01, 0.01, 23)
->
Code:
set_hudmessage(255, 255, 255, 0.02, 0.92, 0, 6.0, 1.0, 0.01, 0.01, 4)
Max channel is 4 (or -1) not 23.


Code:
for(new i;i < pnum;i++ )
->
Code:
for(new i = 0;i < pnum;i++ )

PHP Code:
public plugin_init()
{
        
//code..
        
set_task1.0"showallhud"12321__"b" );
}

public 
showallhud() {    
         
set_hudmessage(2552552550.020.9206.01.00.010.014)     
         static 
players[32], pnumtempid;     
         
get_playersplayerspnum );     
         for ( new 
0pnumi++ )     {         
                
tempid players[i];         
                
ShowSyncHudMsg(tempidhud"Suspect: #%d -- HP: %d^nXP: %i"tempidget_user_health(tempid), PlayerXP[tempid])
          }


Last edited by DWIGHTpN; 07-25-2013 at 04:34.
DWIGHTpN 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:23.


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