09.11.2011, 22:10
pawn Код:
//
if(strcmp(cmdtext, "/modociap", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] > 1340)
{
if(admtrampando[playerid] == 1)
{
admtrampando[playerid] = 0;
SendClientMessage(playerid,COLOR_GREEN,"Vocк desativou modo adm secreto ^^");
}
else
{
admtrampando[playerid] = 1;
SendClientMessage(playerid,COLOR_GREEN,"Vocк ativou modo adm secreto ^^");
}
}
return 1;
}
if(strcmp(cmdtext, "/modociar", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 1341)
{
if(admhide[playerid] == 1)
{
admtrampando[playerid] = 0;
admhide[playerid] = 0;
SendClientMessage(playerid,COLOR_GREEN,"Vocк desativou modo adm secreto ^^");
}
else
{
admtrampando[playerid] = 1;
admhide[playerid] = 1;
SendClientMessage(playerid,COLOR_GREEN,"Vocк ativou modo adm secreto ^^");
}
}
return 1;
}
if(strcmp(cmdtext, "/modocia", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 1342)
{
if(admhide[playerid] == 1)
{
admtrampando[playerid] = 0;
admhide[playerid] = 0;
SendClientMessage(playerid,COLOR_GREEN,"Vocк desativou modo adm secreto ^^");
}
else
{
admtrampando[playerid] = 1;
admhide[playerid] = 1;
SendClientMessage(playerid,COLOR_GREEN,"Vocк ativou modo adm secreto ^^");
}
}
return 1;
}
fiz isso para base GF , caso nгo seja a base GF , avise '-'