AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] finding health. (https://forums.alliedmods.net/showthread.php?t=100703)

malec321 08-17-2009 03:01

[HELP] finding health.
 
HTML Code:

            set_hudmessage(255,255,255,0.75,0.05,0, 1.0, 1.0, 0.1, 0.2, 13);
            show_hudmessage(id, "Hero: 1337 Snipah^nHealth: %s", sz)

Yo how can I make it so %s is your current HP?

jim_yang 08-17-2009 03:50

Re: [HELP] finding health.
 
%s => %d
sz => get_user_health(id)

malec321 08-17-2009 05:29

Re: [HELP] finding health.
 
K that worked thanks +karma


All times are GMT -4. The time now is 15:07.

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