Help with Minigun Antihack
#10

You can create a zone with incognito plugin and do this.

pawn Код:
if (IsPlayerInDynamicArea(playerid, Zone) && GetPlayerWeapon(playerid) > 0))
{
  SendClientMessage(playerid, COLOR, "You can't use arms in this zone");
  SetPlayerArmedWeapon(playerid, 0);
  }
  return 1;
}
Or good, use only this.

pawn Код:
public OnPlayerUpdate(playerid)
{
 if(GetPlayerWeapon(playerid) == 38)
{
 SendClientMessage(playerid, COLOR, "U can't use this arm :B lol");
}
}
 return 1;
}
Reply


Messages In This Thread
Help with Minigun Antihack - by Panormitis - 17.05.2011, 12:08
Re: Help with Minigun Antihack - by cessil - 17.05.2011, 12:30
Re: Help with Minigun Antihack - by Panormitis - 17.05.2011, 14:14
Re: Help with Minigun Antihack - by Naruto_Emilio - 17.05.2011, 14:20
Re: Help with Minigun Antihack - by sim_sima - 17.05.2011, 15:04
Re: Help with Minigun Antihack - by cessil - 17.05.2011, 15:46
Re: Help with Minigun Antihack - by sim_sima - 17.05.2011, 16:04
Re: Help with Minigun Antihack - by cessil - 17.05.2011, 16:15
Re: Help with Minigun Antihack - by sim_sima - 17.05.2011, 17:38
Respuesta: Help with Minigun Antihack - by Lunnatiicz - 17.05.2011, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)