AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   About hud messages.... (https://forums.alliedmods.net/showthread.php?t=87953)

One 03-18-2009 14:39

About hud messages....
 
Hey,i have this code here & i writed this @school...so i tested this there on ma pc wit 1025x768 resolution & this was perfect. now i tested this on ma pc with 1680x1050 & the messages shows so :
PHP Code:

    set_hudmessage(255000.790.0616.09999.00.50.151);
    
show_hudmessage(1"1. %d ^n2. %d^n3. %d ",  g_score1,  g_score2,  g_score3);
    
    
set_hudmessage(2552552550.790.1406.09999.00.50.152);
    
show_hudmessage(1"4. %d^n5. %d^n6. %d^n7. %d^n8. %d^n9. %d"g_score4g_score5g_score6g_score7g_score8g_score9);
    
    
set_hudmessage(2552552550.780.3006.09999.00.50.153);
    
show_hudmessage(1"10. %d^n11. %d ^n12. %d^n13. %d^n14. %d^n15. %d^n16. %d^n17. %d^n18. %d^n19. %d^n20. %d"g_score10g_score11g_score12g_score13g_score14g_score15g_score16g_score17g_score18g_score19g_score20); 

http://i43.tinypic.com/dxza5f.jpg

Dr.G 03-18-2009 14:46

Re: About hud messages....
 
ShowSyncHudMsg

One 03-18-2009 15:01

Re: About hud messages....
 
not understood how to use:cry:

Arkshine 03-18-2009 15:03

Re: About hud messages....
 
0.79 for x axis but the last is 0.78..
Reduce y axis for the both last.

AntiBots 03-18-2009 15:32

Re: About hud messages....
 
Quote:

Originally Posted by One (Post 783828)
not understood how to use:cry:

First you need to create a channel
PHP Code:

new channel

public plugin_init()
{
    
channel CreateHudSyncObj()


Then the use it the same
PHP Code:

    set_hudmessage()
    
ShowSyncHudMsg(idchannel"My Menssege"



All times are GMT -4. The time now is 08:52.

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