06.06.2010, 01:58
Quote:
Originally Posted by Antonio (eternalrp.webatu.com)
Thats for blocking all commands.
|
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
if(!strcmp(cmdtext, "/cmd1", true)
{
//.......
return 1;
}
if(!strcmp(cmdtext, "/cmd2", true)
{
//.......
return 1;
}
if(!strcmp(cmdtext, "/cmd3", true)
{
//.......
return 1;
}
}