10.01.2015, 15:26
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;
}