09.11.2013, 20:51
Yes. First, you need to learn how to use ZCMD --> https://sampforum.blast.hk/showthread.php?tid=280476
Second, your problem is that you don't have it under the callback OnPlayerCommandText
Example:
Second, your problem is that you don't have it under the callback OnPlayerCommandText
Example:
pawn Код:
// Somewhere in your code:
CMD:event(playerid, params[])
{
// stuff here
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
// Your Commands here
zcmd(event,5, cmdtext);
return 0;
}