Is it possible to : ?
#1

Is it possible to add command from game ?
A simple command that send a message only This code:
PHP Code:
CMD:addcommand(playeridparams[])
{
    new 
cmdname[25], textsend[180];
    if(
sscanf(params"s[25]s[180]"cmdnametextsend)) return SendClientMessage(playeridCOLOR_WHITE"USAGE:/addcommand <cmd name> <text that cmd gonna send>");
    return 
1;

For example:
/addcommand <help> <Help isn't available now.>
so cmd help can be added in script and when player type /help it will send him Help isn't available now.
Reply


Messages In This Thread
Is it possible to : ? - by Osamakurdi - 08.03.2018, 15:13
Re: Is it possible to : ? - by ISmokezU - 08.03.2018, 15:17
Re: Is it possible to : ? - by SeanDenZYR - 09.03.2018, 06:53
Re: Is it possible to : ? - by Sew_Sumi - 09.03.2018, 06:59
Re: Is it possible to : ? - by AroseKhanNiazi - 09.03.2018, 11:06
Re: Is it possible to : ? - by KayJ - 09.03.2018, 11:10
Re: Is it possible to : ? - by Sew_Sumi - 09.03.2018, 11:19
Re: Is it possible to : ? - by Meller - 09.03.2018, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)