Raised This Month: $7 Target: $400
 1% 

How Do I Add Print_Chat Thing?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ImXinR
Member
Join Date: Dec 2010
Old 01-03-2011 , 08:20   How Do I Add Print_Chat Thing?
Reply With Quote #1

Well.. Can someone tell me how should I start off with this command ,

PHP Code:
client_print(idprint_chat"[AMXX] Your Text Here.");
return 
PLUGIN_HANDLED
I don really understand the part which says "id" .
ImXinR is offline
Leon_12
Senior Member
Join Date: Jul 2010
Location: Bulgaria
Old 01-03-2011 , 08:46   Re: How Do I Add Print_Chat Thing?
Reply With Quote #2

id is player so it will show only on player without id it will show all players
Leon_12 is offline
Send a message via Skype™ to Leon_12
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 01-03-2011 , 09:18   Re: How Do I Add Print_Chat Thing?
Reply With Quote #3

Quote:
Originally Posted by Leon_12 View Post
id is player so it will show only on player without id it will show all players
In english:

id = the players index. Every player is assigned a number from 1-32, and that is the players "index." No number is used more than once.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-03-2011 , 09:49   Re: How Do I Add Print_Chat Thing?
Reply With Quote #4

http://www.amxmodx.org/funcwiki.php?go=func&id=22


Also, would be more correct to say that id can be 1 to maxplayer.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
ImXinR
Member
Join Date: Dec 2010
Old 01-05-2011 , 00:59   Re: How Do I Add Print_Chat Thing?
Reply With Quote #5

Hmm Okay Thanks For Explaining !
@ConnorMcLeod Thanks! Your link is really useful !
ImXinR is offline
Reply


Thread Tools
Display Modes

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


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