12.10.2011, 00:26
pawn Код:
COMMAND:daradmin(playerid, params[])
{
if(PlayerInfo[playerid][Admin] <1) return SendClientMessage(playerid, -1, "Vocк nгo tem permissгo para ъtilizar esse comando.");
if(ModoAdmin[playerid] == 0) return SendClientMessage(playerid, -1, "Vocк nгo estб trabalhando (/modoadmin).");
if(!sscanf(params, "ud", id, numero)) return SendClientMessage(playerid, -1, "USE: /daradmin [id] [level].");
if(numero > 0 || numero < 6) return SendClientMessage(playerid, -1, "Use nъmeros entre (0-5).");
PlayerInfo[id][Admin] = numero;
return 1;
}