Raised This Month: $ Target: $400
 0% 

Hud special chars


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 07-11-2013 , 16:58   Hud special chars
Reply With Quote #1

Is there any way of printing some special chars like '%' to hud messages? %% isn't working.
Clauu is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 07-11-2013 , 17:28   Re: Hud special chars
Reply With Quote #2

...%s, ^"%" )
__________________

Last edited by Bos93; 07-11-2013 at 19:02.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 07-11-2013 , 17:36   Re: Hud special chars
Reply With Quote #3

@Bos93: is this work in print_chat ?
Kz1.0 is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 07-11-2013 , 17:45   Re: Hud special chars
Reply With Quote #4

Was from the old 'show_hudmessage', using 'ShowSyncHudMsg' solved the problem, thanks anyway.
Clauu is offline
Old 07-11-2013, 18:48
Bos93
This message has been deleted by Bos93.
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-12-2013 , 01:02   Re: Hud special chars
Reply With Quote #5

show_hudmessage or ShowSyncHudMsg doesn't matter, %% works fine.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 07-12-2013 , 03:50   Re: Hud special chars
Reply With Quote #6

Well this is odd, in my case show_hudmessage isn't printing anything for %% but ShowSyncHudMsg it does

Last edited by Clauu; 07-12-2013 at 03:50.
Clauu is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 07-15-2013 , 08:32   Re: Hud special chars
Reply With Quote #7

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.

Last edited by Clauu; 07-15-2013 at 08:33.
Clauu is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-15-2013 , 18:37   Re: Hud special chars
Reply With Quote #8

Quote:
Originally Posted by Clauu View Post
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?
__________________
fysiks is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 07-16-2013 , 04:59   Re: Hud special chars
Reply With Quote #9

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.
Clauu is offline
forze96
New Member
Join Date: Sep 2012
Old 02-17-2014 , 14:41   Re: Hud special chars
Reply With Quote #10

How to download?
forze96 is offline
Reply


Thread Tools
Display Modes

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:29.


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