AlliedModders

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

RuRuRu612754 11-11-2011 06:51

client_print
 
client_print(id, print_center, "The first line\nThe first line")

In client_print, newline [\n] Can you?

ConnorMcLeod 11-11-2011 06:56

Re: client_print
 
No you can't.

You can use that stock but you need to include fakemeta :

PHP Code:

client_print_center(idmsg[], any:...)
{
    static 
szMsg[128]
    
vformat(szMsg127msg3)
    
engfunc(EngFunc_ClientPrintfid1szMsg)


And don't use \n but ^n
client_print_center(id, "The first line^nThe first line")

RuRuRu612754 11-11-2011 07:11

Re: client_print
 
ConnorMcLeod

thanks


All times are GMT -4. The time now is 14:27.

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