Raised This Month: $ Target: $400
 0% 

args


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
warchild690
Junior Member
Join Date: Mar 2006
Old 04-03-2006 , 10:51   args
Reply With Quote #1

ppl keep telling me to red the agrs, but (at the risk of sounding like a retard) were can i read them, nobody seems to want to tell me. plz help
warchild690 is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 04-03-2006 , 11:59  
Reply With Quote #2

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_plugin("", "", "");     register_concmd("tha_cmd", "HandleCmd"); } public HandleCmd(id) {     new argument[32];     read_argv(1, argument, 31);         if ( ! argument )         return PLUGIN_HANDLED;             server_cmd("amx_tsay red %s", argument); }
[ --<-@ ] Black Rose is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-03-2006 , 12:58  
Reply With Quote #3

Also you can read message args (inside register_event/message handler) and log args (plugin_log forward, register_logevent handler).
VEN 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 16:35.


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