EnableVehicleFriendlyFire

warning

This function was added in SA-MP 0.3x and will not work in earlier versions!

Description

Enable friendly fire for team vehicles. Players will be unable to damage teammates' vehicles (SetPlayerTeam must be used!).

Examples

public OnGameModeInit()
{
EnableVehicleFriendlyFire();
return 1;
}

Related Functions