Merge pull request #67 from Sultan1337/patch-9

Update admin_one.pwn
This commit is contained in:
Lorenc Pekaj 2019-07-20 23:40:36 +10:00 committed by GitHub
commit 351f5b8a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,7 @@ CMD:aod( playerid, params[ ] )
DisableRemoteVehicleCollisions( playerid, 0 );
SendClientMessage( playerid, -1, ""COL_PINK"[ADMIN]"COL_WHITE" You have disabled administration mode." );
}
SendClientMessageFormattedToAll( -1, ""COL_PINK"[ADMIN]"COL_WHITE" %s(%d) is now %s-duty.", ReturnPlayerName( playerid ), playerid, p_AdminOnDuty{ playerid } == true ? ( "on" ) : ( "off" ) );
SetPlayerColorToTeam( playerid );
return 1;
}
@ -742,4 +743,4 @@ CMD:chatbanlist( playerid, params[ ] )
return SendError( playerid, "There are no chat banned players online." );
else
return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_TABLIST, ""COL_WHITE"Chat Ban List", szNormalString, "Close", "" ), 1;
}
}