Y_Commands - Problem
#6

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) return SendPlayerMessage(playerid, 0xFF0000FF, "Ops! O comando \"%s\" nгo existe.", cmdtext);// I don't know if this function of yours is working or not. But I prefer format and sendclientmessage
    return 1;
}
This is the simplest way you do it. If you aren't using OnPlayerCommandText for anything else just delete it. If you are using it keep it. It won't have any effects, afaik. As long as you use this version of y_commands.
Reply


Messages In This Thread
Y_Commands - Problem - by SuperChock - 18.12.2011, 13:22
Re: Y_Commands - Problem - by Thresholdold - 18.12.2011, 13:25
Re: Y_Commands - Problem - by suhrab_mujeeb - 18.12.2011, 13:25
Re: Y_Commands - Problem - by Thresholdold - 18.12.2011, 13:30
Re: Y_Commands - Problem - by SuperChock - 18.12.2011, 14:02
Re: Y_Commands - Problem - by suhrab_mujeeb - 18.12.2011, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)