Raised This Month: $ Target: $400
 0% 

how do you client_cmd with the persons name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 06-24-2006 , 17:33   how do you client_cmd with the persons name
Reply With Quote #1

register_clcmd("say /slapme", "bla....")

client_cmd(id, "amx_slap name 5") -duh this does not work

how do you make the plugin execute amx_slap "name" 5, where the "name is the person who said /slap me

*the "name" can be the persons #userid or the persons name
kp_uparrow is offline
 


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 08:06.


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