y_commands (OnPlayerCommandPerformed) problem.
#2

Try this
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(success == 0)
    {
        format(string, sizeof(string), "Error message.");
        SendClientMessage(playerid, white, string);
        return 1;
    }
    return 1;}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)