warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.