14.08.2012, 17:43
pawn Код:
if(!strcmp(cmdtext, "/duty", true))
{
if(!IsPlayerAdmin(playerid))
{
if(AdminDuty[playerid] == 1)
{
AdminDuty[playerid] = 0;
SendClientMessage(playerid, -1, "En Duty Apagado");
}
else
{
AdminDuty[playerid] = 1;
SendClientMessage(playerid, -1, "En Duty Encendido");
}
}
else return SendClientMessage(playerid, -1, "Debes estar logeado como RCON: /rcon login [contraseсa]");
return 1;
}