DCMD ? ? ?
#2

You need to add the dcmd code to OnPlayerCommandText, for example:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(heal, 4, cmdtext);
    return 0;
}
Edit: Sorry, had the parameters the wrong way around.
Reply


Messages In This Thread
[No subject] - by stylerof619 - 09.09.2011, 14:41
Re: DCMD ? ? ? - by JaTochNietDan - 09.09.2011, 14:44
Re: DCMD ? ? ? - by iPLEOMAX - 09.09.2011, 14:46
Re: DCMD ? ? ? - by =WoR=Varth - 09.09.2011, 14:46
JaTochNietDan - by stylerof619 - 09.09.2011, 14:47

Forum Jump:


Users browsing this thread: 2 Guest(s)