19.02.2009, 17:58
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp(cmdtext, "/abab", true, 5))
{
//this will call command "/acacac" in every pawn scripts of the server.
CallRemoteFunction("OnPlayerCommandText", "is", playerid, "/acacac");
//if command "/acacac" is in same script than command "/abab", it's better to do just that.
//OnPlayerCommandText(playerid, "/acacac");
return true;
}
return false;
}