Posts: 236
Threads: 102
Joined: Sep 2012
hey guys any ideas why it does this??
line:
732
Код:
else SendClientMessage(playerid, -1, "You're not an administration");
after that
Posts: 236
Threads: 102
Joined: Sep 2012
Код:
CMD:aduty(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, -1, "you are now on Administration Duty");
SendClientMessageToAll(-1, "Administration is now on duty!(/report if you need help)");
SetPlayerColor(playerid, 0xFF0000);
}
else
{
SendClientMessage(playerid, -1, "you are now off Administration Duty");
SendClientMessageToAll(-1, "Administration is now off duty!(Leave him to Roleplay)");
SetPlayerColor(playerid, 0xFFFFFF);
}
else SendClientMessage(playerid, -1, "You're not an administration");
return 1;
}
Posts: 236
Threads: 102
Joined: Sep 2012
Thank you worked
Repd+