Raised This Month: $ Target: $400
 0% 

First plugin attempt - Error 010


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-09-2009 , 00:09   Re: First plugin attempt - Error 010
Reply With Quote #8

Quote:
Originally Posted by tomato_love View Post
You guys are great! +karma all around. Works great, lastly i have a duplication issue now, it appears to all and then still shows up as a normal message. How would i go about eliminating that?
What do you mean by a normal message? How do you want it to appear?

The first parameter specifies who the message is printed to. In your code, 0 is passed which results in all players. To make it only print to a specific player, you must specify the player id.

client_print( 0, print_chat, "%s said %s" , name , said )
__________________
Bugsy 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 17:01.


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