note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
EnableVehicleFriendlyFire
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
- SetPlayerTeam: Set a player's team.