Raised This Month: $ Target: $400
 0% 

amx_exec


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SpeedHacker.
Junior Member
Join Date: Dec 2008
Old 12-11-2008 , 08:14   Re: amx_exec
Reply With Quote #22

Can I use "amx_execclient <#ID> <comand>" ???

Code:
	else if(equal(cmd,"client")) {
		new text[64], name[32]
		read_args(text,64)
		parse(text,name,32)
		new cid = find_player("lb",name)
		if (!cid) {
			id ? client_print(id,print_console,"[AMXX] Client with that part of name not found") : server_print("[AMXX] Client with that part of name not found")
			return PLUGIN_HANDLED
		}
		new length = strlen(name)
		new message[64]
		read_args(message,64)
		client_cmd(cid,message[length])
	}
SpeedHacker. 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 10:53.


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