Raised This Month: $ Target: $400
 0% 

client_print


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-05-2009 , 17:38   client_print
Reply With Quote #1

how can i add anything between player name & text. like :

client_print(id, "%s @CT-Base : Hi", Name)
__________________

Last edited by One; 04-05-2009 at 18:19.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Owyn
Veteran Member
Join Date: Nov 2007
Old 04-05-2009 , 17:45   Re: client_print
Reply With Quote #2

your example should work fine
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-05-2009 , 17:50   Re: client_print
Reply With Quote #3

realy? i writed the same thing around 6 month ago & didnt use this anymore. idk. i cant remember if this is right or wrong

sry i´m to old Grandpa
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-05-2009 , 17:51   Re: client_print
Reply With Quote #4

Quote:
Originally Posted by .Owyn. View Post
your example should work fine
Incorrect.

Code:
client_print(id, print_chat, "message here %s", stuff)
__________________
fysiks is offline
Old 04-05-2009, 18:00
One
This message has been deleted by One.
Old 04-05-2009, 18:08
One
This message has been deleted by One. Reason: omg new problem
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-05-2009 , 18:20   Re: client_print
Reply With Quote #5

now i can remember :

client_print(id, print_chat, "%s @CT-Base : Hi", name)

EDIT: how can i print this in say_team??
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-05-2009 , 18:22   Re: client_print
Reply With Quote #6

That only prints it to "id". There is no concept of say_team when using client_print(). Although, you could emulate it.
__________________
fysiks is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-05-2009 , 18:25   Re: client_print
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
That only prints it to "id". There is no concept of say_team when using client_print(). Although, you could emulate it.
damn, there could i need help .

i have no idea how can i emulate it better said : i dont think if i can do this damn
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 04-05-2009 , 19:05   Re: client_print
Reply With Quote #8

client_cmd(id, "say_team %s @CT-Base : Hi", name)
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-05-2009 , 19:09   Re: client_print
Reply With Quote #9

Quote:
Originally Posted by Starsailor View Post
client_cmd(id, "say_team %s @CT-Base : Hi", name)
That will show

Quote:
(TEAM) MyPlayerName: MyPlayerName @CT-Base : Hi
Which is not quite what he wants.

@One: You can do it with ColorChat. Then only send to people on his team.
__________________
fysiks is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-05-2009 , 19:11   Re: client_print
Reply With Quote #10

noway??
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Reply



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 19:00.


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