02.06.2012, 14:17
I'm not 100% sure about this, but what the hell, give it a try..
pawn Код:
public OnPlayerUpdate(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
if(i != playerid)
{
if(GetPlayerWeapon(i) == 45 && GetPlayerWeapon(i) == 44)
{
// here try to take away their weapon (goggles) in hope the effect is gone?
}
}
return 1;
}