HomeNew admin duty system  WZYcG7eLatest imagesSearchRegisterLog inNew admin duty system  GzSzGlUNew admin duty system  T9ywruyNew admin duty system  MrZV306New admin duty system  KNjj8mV

Share
 

 New admin duty system

View previous topic View next topic Go down 
AuthorMessage
[MG]Godmask
[MG]Godmask


Posts : 567

Join date : 2014-03-09

Location : UK


New admin duty system  Empty
PostSubject: New admin duty system    New admin duty system  EmptySun 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");
   
Back to top Go down
https://www.youtube.com/user/godmaskzxd
Dodger
Dodger
Senior Administrator
Senior Administrator

Posts : 105

Join date : 2014-03-23

Age : 24

Location : Egypt


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 12:52 am

Eh should this be here?

http://www.mg-official.com/t2627-mgadmin-suggestions
Back to top Go down
[MG]Godmask
[MG]Godmask


Posts : 567

Join date : 2014-03-09

Location : UK


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 1:45 am

I posted it here because i'am no longer an admin here. Don't move it!!!
Back to top Go down
https://www.youtube.com/user/godmaskzxd

Hasti[K]


Posts : 8

Join date : 2015-07-20

Age : 24

Location : Argentina


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 2:18 am

How long do were you? Surprised Godd job friend!
Back to top Go down
[ΜǤ]ҜŞŦΔŘ_
[ΜǤ]ҜŞŦΔŘ_
Donator
Donator

Posts : 680

Join date : 2014-02-22

Age : 30

Location : Jamaica


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 3:17 am

Good looking code Godmask(Professionally done) Very Happy
Back to top Go down
[MG]_iBlaze[iD]
[MG]_iBlaze[iD]
Senior Administrator
Senior Administrator

Posts : 642

Join date : 2014-06-03

Age : 26

Location : Trivandrum, Kerala, India.


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 4:18 am

Great job Godmask. Even though I don't know anything about scripting, this one looks tough.
Back to top Go down
[MG]Terminator
[MG]Terminator
Head Administrator
Head Administrator

Posts : 1662

Join date : 2014-04-22

Age : 26


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 7:55 am

K star change your Avatar -_-
~~~~~~~~~
spam spam
Back to top Go down
[MG]Maxx[kM]
[MG]Maxx[kM]
Head Manager
Head Manager

Posts : 1175

Join date : 2014-04-16

Age : 24

Location : São Paulo, Brazil


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 4:04 pm

Bad optimized...
Sad
& player health must be 100000 not others to enable god
Sad
Back to top Go down
[MG]Godmask
[MG]Godmask


Posts : 567

Join date : 2014-03-09

Location : UK


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 5:28 pm

[MG]Maxx[kM] wrote:
Bad optimized...
Sad
& player health must be 100000 not others to enable god
Sad

It doesn't set players to 9999 hp it sets admin. Hard to explain
Back to top Go down
https://www.youtube.com/user/godmaskzxd
[MG]Terminator
[MG]Terminator
Head Administrator
Head Administrator

Posts : 1662

Join date : 2014-04-22

Age : 26


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 8:19 pm

Im not scripter and dont understand any shit out of these shits
Back to top Go down
[ℳḠ]Ѧαґøη
[ℳḠ]Ѧαґøη
Senior Administrator
Senior Administrator

Posts : 449

Join date : 2014-10-26

Location : Doha, Qatar


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptySun Jul 26, 2015 8:54 pm

[MG]Godmask wrote:
[MG]Maxx[kM] wrote:
Bad optimized...
Sad
& player health must be 100000 not others to enable god
Sad

It doesn't set players to 9999 hp it sets admin. Hard to explain
BRUH
Back to top Go down
https://www.youtube.com/channel/UCQu1moEOqUj6_wFrfCEGUsQ
Shake_It[MG]
Shake_It[MG]
Lead Administrator
Lead Administrator

Posts : 317

Join date : 2014-09-21

Age : 25

Location : Portugal


New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  EmptyFri Jul 31, 2015 11:15 am

Hamm, this is a suggestion ? Well anyway +1 cool suggestion good work Mask!
Back to top Go down

Sponsored content



New admin duty system  Empty
PostSubject: Re: New admin duty system    New admin duty system  Empty

Back to top Go down
 

New admin duty system

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Admin duty bug // other
» can u make me a admin on call of duty please
» Make Me On Admin MG Call Of Duty
» Smith's Admin application for [MG]Call of duty
» Admin Application | Voting System | By Karan_Lucknath

Permissions in this forum:You cannot reply to topics in this forum
MaximumGaming :: San Andreas Multiplayer ( SA:MP ) :: Suggestions-