01.06.2015, 15:18
(
Последний раз редактировалось Stev; 01.06.2015 в 15:54.
Причина: Making it look good...
)
Admin Check-in by Stev
Hello guys,Introduction
This is my first filterscript that I have posted on this fourms so here it goes. I did write this in the middle of the night so there might be mistakes I have made
About the script
This filterscript is admin check-in system where when ever a admin is in the serverand they use this command (/checkin), It prints a message into the server logs to say"Stev has checked in at (15:52:3" thats when the timer starts. It moniotors the activenessof the admins. Once the admin has finished his/her duties (/checkout). Once command is sent, it will print in the server longs the following
Код:
[31/05/2015,19.52.38] Stev has checked in (19:52:38) [31/05/2015,19.57.51] Stev has checkout after (00 hrs, 04 minutes, 54 secs)
/checkin - Checks the admin in
/checkout [reason] - Checks the player out with a reason
Screenshots
http://i.imgur.com/UuPwoUo.png
http://i.imgur.com/tAYt9AF.png
Bugs
Nothing as I know.
Download
http://pastebin.com/EX4fFBnZ
Installing
1) Open up the link right above this
2) Copy the text, into a blank .pwn file
3) Make sure you got the include required (zcmd, sscanf) Streamer is not needed
4) Once you got the correct plugins and includes, Compile the script and you should be in the clear!
If you get any errors feel free to ask for help on this thread.
If you have a different admin system, The way to add this into your gamemodes if to change the admin variable on top of the command like so:
Код:
if(PlayerData[playerid][Admin]) // Change it to whatever your admin system finds admin levels.
Bingo - For thinking of this idea