11.11.2010, 02:00
Tenta assim
Tem esse outro jeito q nao sei se funciona. Ai no lugar do 1 vc coloca o level de admin q pode usar ate tal level q й sу mudar o 10.
pawn Код:
else if(GetPlayerWeapon(i) == 38)
{
if(IsPlayerAdmin(playerid) || (PlayerInfo[i][pAdmin] < 1340)
{
return 1;
}
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Minigun /tv nele rapido", giveplayer,i);
ABroadCast(COLOR_LIGHTRED,string,1);
SetPlayerPos(i,-123.7512,-2869.0913,183.3834+600);
ResetPlayerWeapons(i);
}
pawn Код:
else if(GetPlayerWeapon(I) == 38)
{
for(PlayerInfo[i][pAdmin] >= 1) || (PlayerInfo[i][pAdmin] >= 10)
{
return 1;
}
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Minigun /tv nele rapido", giveplayer,i);
ABroadCast(COLOR_LIGHTRED,string,1);
SetPlayerPos(i,-123.7512,-2869.0913,183.3834+600);
ResetPlayerWeapons(I);
}