How to get RId of this
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        // Do something here
        return 1;
    }
    return SendClientMessage(playerid, COLOUR, "INVAILD COMMAND! FAILLZOOR");
}
If you dont understand what to do, Delete the return 0 at the bottom of OnPlayerCommandText and replace it like i did in the code above
Reply


Messages In This Thread
How to get RId of this - by Artix - 07.05.2011, 21:50
Re: How to get RId of this - by BizzyD - 07.05.2011, 21:58
Re: How to get RId of this - by Artix - 07.05.2011, 22:10
Re: How to get RId of this - by BizzyD - 07.05.2011, 22:13
Re: How to get RId of this - by Artix - 07.05.2011, 22:14
Re: How to get RId of this - by Seven_of_Nine - 08.05.2011, 05:02
Re: How to get RId of this - by Joe Staff - 08.05.2011, 08:07

Forum Jump:


Users browsing this thread: 1 Guest(s)