From fdd6f4297a040543f372168d8360df77dfc5641d Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Sun, 23 Dec 2018 12:35:17 +1100 Subject: [PATCH] rename cmds to stopask stopreport --- gamemodes/irresistible/cnr/commands/admin/_admin.pwn | 4 ++-- gamemodes/irresistible/cnr/commands/admin/admin_one.pwn | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gamemodes/irresistible/cnr/commands/admin/_admin.pwn b/gamemodes/irresistible/cnr/commands/admin/_admin.pwn index 32695e2..ccd91fa 100644 --- a/gamemodes/irresistible/cnr/commands/admin/_admin.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/_admin.pwn @@ -43,13 +43,13 @@ static stock { 1, "/unfreeze", "Unfreezing a player" }, { 1, "/awep", "Showing player current weapons" }, { 1, "/alog", "Shows administration log textdraw" }, - { 1, "/stpfa", "Blocking/unblocking a player from using /ask" }, + { 1, "/stopask", "Blocking/unblocking a player from using /ask" }, { 1, "/ans", "Answering a question" }, { 1, "/respond", "Responding to a report" }, { 1, "/aspawn", "Spawning a player" }, { 1, "/warn", "Warning a player" }, { 1, "/setskin", "Setting a player s speific skin ID" }, - { 1, "/stpfr", "Blocking/unblocking a player from using /report" }, + { 1, "/stopreport", "Blocking/unblocking a player from using /report" }, { 1, "/getstats", "Gettings the stats of a player" }, { 1, "/a", "Admin chat" }, { 1, "/adminmanual", "Reading the admin manual" }, diff --git a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn index cf216fa..7c0ae98 100644 --- a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn @@ -320,13 +320,13 @@ CMD:alog( playerid, params[ ] ) return 1; } -CMD:stpfa( playerid, params[ ] ) +CMD:stopask( playerid, params[ ] ) { new pID ; if ( p_AdminLevel[ playerid ] < 1 ) return SendError( playerid, ADMIN_COMMAND_REJECT ); - else if ( sscanf( params, "u", pID ) ) SendUsage(playerid, "/stpfa [PLAYER_ID]"); + else if ( sscanf( params, "u", pID ) ) SendUsage(playerid, "/stopask [PLAYER_ID]"); else if ( !IsPlayerConnected(pID) ) return SendError(playerid, "Invalid Player ID."); else if ( pID == playerid ) return SendError( playerid, "You cannot apply this to yourself." ); else if ( p_AdminLevel[ pID ] > p_AdminLevel[ playerid ] ) return SendError( playerid, "This player has a higher administration level than you." ); @@ -464,13 +464,13 @@ CMD:setskin( playerid, params[ ] ) return 1; } -CMD:stpfr( playerid, params[ ] ) +CMD:stopreport( playerid, params[ ] ) { new pID ; if ( p_AdminLevel[ playerid ] < 1 ) return SendError( playerid, ADMIN_COMMAND_REJECT ); - else if ( sscanf( params, "u", pID ) ) SendUsage(playerid, "/stpfr [PLAYER_ID]"); + else if ( sscanf( params, "u", pID ) ) SendUsage(playerid, "/stopreport [PLAYER_ID]"); else if ( !IsPlayerConnected(pID) ) return SendError(playerid, "Invalid Player ID."); else if ( pID == playerid ) return SendError( playerid, "You cannot apply this to yourself." ); else if ( p_AdminLevel[ pID ] > p_AdminLevel[ playerid ] ) return SendError( playerid, "This player has a higher administration level than you." );