Raised This Month: $ Target: $400
 0% 

register_clcmd with parameter UID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 06-28-2017 , 09:05   Re: register_clcmd with parameter UID
Reply With Quote #1

You can use it in this way.

PHP Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init() {
    
register_plugin("Say""1.0""PurposeLess")

    
register_clcmd("say""clcmd_say")
    
register_clcmd("say_team""clcmd_say")
}

public 
clcmd_say(id)
{
    new 
arg[32]
    
read_args(argsizeof(arg) - 1)
    
remove_quotes(arg)

    if(
equali(arg"/referral 123"))
    {
    }

PurposeLessx is offline
Reply



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 22:44.


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