[MG]Godmask
Posts : 567
Join date : 2014-03-09
Location : UK
| Subject: New admin duty system Sun Jul 26, 2015 12:18 am | |
| I spent 10 minutes making this. I hope you guys like it (For admins) This is a new /aduty or /adminduty. A box will pop in the middle of the screen explain what you need to do when on admin duty CMD:aduty(playerid) { if(pInfo[playerid][pLogged] == 1) { if(pInfo[playerid][pAdminLevel] >= 1) { if(pInfo[playerid][pAdminDuty] == 0) { pInfo[playerid][pAdminDuty] = 1; new adutyonstring[128]; format(adutyonstring, sizeof(adutyonstring), "%s is now on admin duty" ,PlayerName(playerid)); SendClientMessageToAll(-1,adutyonstring); SetPlayerColor(playerid,0x007826ff); SetPlayerHealth(playerid,999999.0); SendClientMessage(playerid,COLOR_RED,"Please do not abuse you commands. Remember when going to play please do /aduty."); { new adminduty[991]; strcat(adminduty,""chat" YOUR ON ADMIN DUTY!\\n Being on admin duty doesn't mean you can attack players when you have full HP. Help out new players if asking in the public chat\n"); strcat(adminduty,""chat" Answer there private messages when sent to you!\\n"); strcat(adminduty,""chat" Host events, don't let players down. You can host the followering - Racing, duels, tdm and sky dive events if wanted to.\\n"); strcat(adminduty,""chat" The mean commands you'll be using will be:\n */ban\n*/kick\n*/jail/*/sethealth(armour).\\n Please view /acmds > Pick your levels if needed. \n Made by Godmask"); - Code:
-
CMD:aduty(playerid) { if(pInfo[playerid][pLogged] == 1) { if(pInfo[playerid][pAdminLevel] >= 1) { if(pInfo[playerid][pAdminDuty] == 0) { pInfo[playerid][pAdminDuty] = 1;
new adutyonstring[128]; format(adutyonstring, sizeof(adutyonstring), "%s is now on admin duty" ,PlayerName(playerid)); SendClientMessageToAll(-1,adutyonstring); SetPlayerColor(playerid,0x007826ff); SetPlayerHealth(playerid,999999.0); SendClientMessage(playerid,COLOR_RED,"Please do not abuse you commands. Remember when going to play please do /aduty."); { new adminduty[991]; strcat(adminduty,""chat" YOUR ON ADMIN DUTY!\\n Being on admin duty doesn't mean you can attack players when you have full HP. Help out new players if asking in the public chat\n"); strcat(adminduty,""chat" Answer there private messages when sent to you!\\n"); strcat(adminduty,""chat" Host events, don't let players down. You can host the followering - Racing, duels, tdm and sky dive events if wanted to.\\n"); strcat(adminduty,""chat" The mean commands you'll be using will be:\n */ban\n*/kick\n*/jail/*/sethealth(armour).\\n Please view /acmds > Pick your levels if needed. \n Made by Godmask"); |
|
Dodger Senior Administrator
Posts : 105
Join date : 2014-03-23
Age : 24
Location : Egypt
| Subject: Re: New admin duty system Sun Jul 26, 2015 12:52 am | |
| Eh should this be here?
http://www.mg-official.com/t2627-mgadmin-suggestions |
|
[MG]Godmask
Posts : 567
Join date : 2014-03-09
Location : UK
| Subject: Re: New admin duty system Sun Jul 26, 2015 1:45 am | |
| I posted it here because i'am no longer an admin here. Don't move it!!! |
|
Hasti[K]
Posts : 8
Join date : 2015-07-20
Age : 24
Location : Argentina
| Subject: Re: New admin duty system Sun Jul 26, 2015 2:18 am | |
| How long do were you? Godd job friend! |
|
[ΜǤ]ҜŞŦΔŘ_ Donator
Posts : 680
Join date : 2014-02-22
Age : 30
Location : Jamaica
| Subject: Re: New admin duty system Sun Jul 26, 2015 3:17 am | |
| Good looking code Godmask(Professionally done) |
|
[MG]_iBlaze[iD] Senior Administrator
Posts : 642
Join date : 2014-06-03
Age : 26
Location : Trivandrum, Kerala, India.
| Subject: Re: New admin duty system Sun Jul 26, 2015 4:18 am | |
| Great job Godmask. Even though I don't know anything about scripting, this one looks tough. |
|
[MG]Terminator Head Administrator
Posts : 1662
Join date : 2014-04-22
Age : 26
| Subject: Re: New admin duty system Sun Jul 26, 2015 7:55 am | |
| K star change your Avatar -_- ~~~~~~~~~ spam spam |
|
[MG]Maxx[kM] Head Manager
Posts : 1175
Join date : 2014-04-16
Age : 24
Location : São Paulo, Brazil
| Subject: Re: New admin duty system Sun Jul 26, 2015 4:04 pm | |
| Bad optimized... & player health must be 100000 not others to enable god |
|
[MG]Godmask
Posts : 567
Join date : 2014-03-09
Location : UK
| |
[MG]Terminator Head Administrator
Posts : 1662
Join date : 2014-04-22
Age : 26
| Subject: Re: New admin duty system Sun Jul 26, 2015 8:19 pm | |
| Im not scripter and dont understand any shit out of these shits |
|
[ℳḠ]Ѧαґøη Senior Administrator
Posts : 449
Join date : 2014-10-26
Location : Doha, Qatar
| |
Shake_It[MG] Lead Administrator
Posts : 317
Join date : 2014-09-21
Age : 25
Location : Portugal
| Subject: Re: New admin duty system Fri Jul 31, 2015 11:15 am | |
| Hamm, this is a suggestion ? Well anyway +1 cool suggestion good work Mask! |
|
Sponsored content
| Subject: Re: New admin duty system | |
| |
|