AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hud special chars (https://forums.alliedmods.net/showthread.php?t=220540)

Clauu 07-11-2013 16:58

Hud special chars
 
Is there any way of printing some special chars like '%' to hud messages? %% isn't working.

Bos93 07-11-2013 17:28

Re: Hud special chars
 
...%s, ^"%" )

Kz1.0 07-11-2013 17:36

Re: Hud special chars
 
@Bos93: is this work in print_chat ?

Clauu 07-11-2013 17:45

Re: Hud special chars
 
Was from the old 'show_hudmessage', using 'ShowSyncHudMsg' solved the problem, thanks anyway.

ConnorMcLeod 07-12-2013 01:02

Re: Hud special chars
 
show_hudmessage or ShowSyncHudMsg doesn't matter, %% works fine.

Clauu 07-12-2013 03:50

Re: Hud special chars
 
Well this is odd, in my case show_hudmessage isn't printing anything for %% but ShowSyncHudMsg it does :)

Clauu 07-15-2013 08:32

Re: Hud special chars
 
Actually there is something strange with param format because function(id,string) isn't printing the extra %% but function(id,"%s",string) it does and this is happening to all printing functions doesn't matter if is in chat or hud so most likely it's a bug.

fysiks 07-15-2013 18:37

Re: Hud special chars
 
Quote:

Originally Posted by Clauu (Post 1991227)
Actually there is something strange with param format because function(id,string) isn't printing the extra %% but function(id,"%s",string) it does and this is happening to all printing functions doesn't matter if is in chat or hud so most likely it's a bug.

What?

Clauu 07-16-2013 04:59

Re: Hud special chars
 
Don't know why and how but this 'show_hudmessage(id,string)' isn't printing those extra special chars while 'show_hudmessage(id,"%s",string)' it does.

forze96 02-17-2014 14:41

Re: Hud special chars
 
How to download?


All times are GMT -4. The time now is 06:29.

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