Cserébe sokkal gyorsabb mint a többi parancsfeldolgozó, és a használata is egyszerûbb.
public OnPlayerCommandText(playerid, cmdtext[]){new string[512], player1, result[32];if(strcmp(cmdtext, \"/ban\", true) == 0) {if(PlayerInfo[playerid][AdminLevel] < 3) return SendLevelError(playerid, 3);if(sscanf(cmdtext, \"ds[100]\", player1, result)) return SendUsageError(playerid, \"/ban [id] [reason]\");if(!IsPlayerConnected(player1)) return SendCommandError(playerid, 0);format(string, 256, \"You Are Banned\\n\\nBy Admin, %s\\nReason: %s\\n\\nNext time follow the Rules\\n\\nBye!\", PlayerName(playerid), result);ShowPlayerDialog(player1, 200, DIALOG_STYLE_MSGBOX, \"You have been Banned\", string, \"Ok\", \"\");SendCommandMessage(playerid, player1, \"Ban\", result);Ban(player1);return 1;}
dcmd_ban(playerid, params[]) {new result[64], player1, string[128];if(PlayerInfo[playerid][AdminLevel] < 3) return SendLevelError(playerid, 3);if(sscanf(params, \"ds[100]\", player1, result)) return SendUsageError(playerid, \"/ban [id] [reason]\");if(!IsPlayerConnected(player1)) return SendCommandError(playerid, 0);format(string, 256, \"You Are Banned\\n\\nBy Admin, %s\\nReason: %s\\n\\nNext time follow the Rules\\n\\nBye!\", PlayerName(playerid), result);ShowPlayerDialog(player1, 200, DIALOG_STYLE_MSGBOX, \"You have been Banned\", string, \"Ok\", \"\");SendCommandMessage(playerid, player1, \"Ban\", result);Ban(player1);return 1;}