/asay not working
#1

i made /asay cmd but when i type any message it doesn't work, it only show me Usage: /asay [message]




CODE :
PHP код:
COMMAND:asay(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid)) return SendClientMessage(playeridCOLOR_RED"You're not allowed to use this command");
    {
        new 
input[100], message[250];
        if(
sscanf(params"s[100]"input)) return SendClientMessage(playeridCOLOR_WHITE"{FF6600}Usage: {FFFFFF}/asay [message]");
        else
        {
            
format(messagesizeof(message), "{3604FF}[ADMIN] {FFFFFF}%s"input);
            
SendClientMessageToAll(COLOR_WHITEmessage);        
        }
    }
    return 
1;

Reply


Messages In This Thread
/asay not working - by DeStRoY232 - 23.09.2017, 11:15
Re: /asay not working - by whadez - 23.09.2017, 11:17
Re: /asay not working - by Kinta - 23.09.2017, 11:19
Re: /asay not working - by DeStRoY232 - 23.09.2017, 11:19
Re: /asay not working - by DeStRoY232 - 23.09.2017, 11:21

Forum Jump:


Users browsing this thread: 1 Guest(s)