rename cmds to stopask stopreport

This commit is contained in:
Lorenc Pekaj 2018-12-23 12:35:17 +11:00
parent 803af66803
commit fdd6f4297a
2 changed files with 6 additions and 6 deletions

View File

@ -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" },

View File

@ -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." );