How to custom /adminduty name
#1

How to create admin duty (/ aduty) into a custom name and
and the color is so blue roleplay server ?
Please help.
I asked if there was a script
Reply
#2

Quote:

//Aduty
new Aduty[MAX_PLAYERS];

Quote:

CMD:aduty(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
if(Aduty[playerid] == 0)
{
new string[128];
format(string, sizeof(string), "* Admin %s da onduty: Su dung /baocao neu phat hien bug,loi!.",GetPlayerNameEx(playerid));
SendClientMessageToAllEx(COLOR_LIGHTRED, string);
SetPlayerColor(playerid,COLOR_GREEN);
SetPlayerArmour(playerid, 10000.0);
SetPlayerHealth(playerid, 10000.0);
Aduty[playerid] = 1;
}
else
{
SendClientMessageEx(playerid, COLOR_GREY, "Ban da off duty.");
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
SetPlayerColor(playerid,COLOR_WHITE);
Aduty[playerid] = 0;
}
}
return 1;
}

this man
Reply
#3

Help me , please
Reply
#4

Quote:
Originally Posted by Zidaan
Посмотреть сообщение
How to create admin duty (/ aduty) into a custom name and
and the color is so blue roleplay server ?
Please help.
I asked if there was a script
« Would help if you handed out some code to aid in making this command, but you know, Scripting Help isn't really for making you a command...
But if someone was going to be kind, then they'd need some basis to go on, rather than nothing and guess everything. » - Sew_Sumi
Reply
#5

I'll give you a logic.
First, create a variable for player
and enter into the command to set these variables
when set to re-name player to the variable
completed.

NB:nax indo juga nich gan.
Reply
#6

Indo nih,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)