AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Precent char (https://forums.alliedmods.net/showthread.php?t=110521)

Sn!ff3r 11-30-2009 12:19

Precent char
 
PHP Code:


console_print
(id"precent %")
client_print(idprint_console"precent %"

prints only "precent "

How to correctly print precent char in console ?

Exolent[jNr] 11-30-2009 12:23

Re: Precent char
 
In formatting a string (formatex)
%% = %

In HL messages (SayText, console printing)
%% = %

In formatting a string for HL messages
%%%% = %

Sn!ff3r 11-30-2009 12:30

Re: Precent char
 
%%%% solved problem ;]


All times are GMT -4. The time now is 13:40.

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