Raised This Month: $ Target: $400
 0% 

client_print and format


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
]FUSION[ Gray Death
Member
Join Date: Mar 2004
Location: Hamburg / Germany
Old 04-03-2004 , 07:02   client_print and format
Reply With Quote #1

Hi,

I often (like in PTB Team-Plugin e.g.) see code like this

Quote:
format(text, 255, "PTB: %s, some funny text.", name)
client_print(id,print_chat,text)
and asks myself again and again, why not simply use:

Quote:
client_print(id,print_chat,"PTB: %s, some funny text.", name)
Is this from some older AMX Versions, where client_print wasn't allowed to use variables or is there really some good reason for?

Thx in advance,
Gray
]FUSION[ Gray Death is offline
 



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 05:28.


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