11.07.2012, 02:14
pawn Код:
//Change:
public OnPlayerCommandText(playerid, cmdtext[])
{
//...
}
//To:
forward OnPlayerCommandTextEx(playerid, cmdtext[]);
public OnPlayerCommandTextEx(playerid, cmdtext[])
{
//...
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)//ZCMD's Callback
{
if(!success) success = OnPlayerCommandTextEx(playerid,cmdtext);// << Add it.
return success;
}