07.02.2010, 20:56
to disable weapons
SetPlayerArmedWeapon(playerid, 0); will put them to hands
then if they try to change to another weapon
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(/*your area check*/) SetPlayerArmedWeapon(playerid, 0);
}
SetPlayerArmedWeapon(playerid, 0); will put them to hands
then if they try to change to another weapon
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(/*your area check*/) SetPlayerArmedWeapon(playerid, 0);
}