How to disable shooting from vehicles...
#2

Well, I cant think of any way for stopping that from happening at all but you can use the following code

pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(IsPlayerInAnyVehicle(playerid)) return 0; //This would prevent any bullets being shot from a player in a vehicle to give any damage
    return 1;
}
Reply


Messages In This Thread
How to disable shooting from vehicles... - by Fjclip99 - 10.01.2015, 15:13
Re: How to disable shooting from vehicles... - by iReacheR - 10.01.2015, 15:26
Re: How to disable shooting from vehicles... - by VishvaJeet - 10.01.2015, 15:44
Re: How to disable shooting from vehicles... - by PowerPC603 - 10.01.2015, 18:37
Re: How to disable shooting from vehicles... - by Garavel - 10.01.2015, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)