AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Why is this not working (https://forums.alliedmods.net/showthread.php?t=144352)

sibox 12-02-2010 14:29

Why is this not working
 
I try to show the hud_message but it only shows Healed + HP
Code:

set_hudmessage(0, 255, 0, -1.0, 0.01, 0, 6.0, 6.0, 0.1, 0.2, -1)
                show_hudmessage(killer, "Healed + %s HP", get_pcvar_num(killHS_health))


lucas_7_94 12-02-2010 14:31

Re: Why is this not working
 
%s - string
%d - number .

solution , change '%s' to '%d'

sibox 12-02-2010 14:36

Re: Why is this not working
 
Thank you very much , what an idiot mistake :/


All times are GMT -4. The time now is 11:22.

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