30.07.2016, 10:59
And this??
Now it is like this:
Quote:
//
And it was like this:
Quote:
How it is better? I have zcmd.inc.
Now it is like this:
Quote:
//
Quote:
|
------------------------------------------------------------------------------ /*public OnPlayerCommandText(playerid, cmdtext[]) { return 1; }*/ //------------------------------------------------------------------------------ public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) return SendClientMessage(playerid, -1, "SERVER: Unknown command."); return 1; } //------------------------------------------------------------------------------ |
Quote:
Quote:
|
//------------------------------------------------------------------------------ public OnPlayerCommandText(playerid, cmdtext[]) { return 1; } //------------------------------------------------------------------------------ /*public OnPlayerCommandPerformed(playerid, cmdtext[], success) { return 0; }*/ //------------------------------------------------------------------------------ |

