EnableVehicleFriendlyFire
From SA-MP Wiki
(Difference between revisions)
Revision as of 15:44, 18 February 2013 Meta (Talk | contribs) (added german link) ← Previous diff |
Revision as of 05:00, 2 February 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 24: | Line 24: | ||
[[de:EnableVehicleFriendlyFire]] | [[de:EnableVehicleFriendlyFire]] | ||
+ | [[fr:EnableVehicleFriendlyFire]] |
Revision as of 05:00, 2 February 2014
Description:
Enable friendly fire for team vehicles. Players will be unable to damage teammates' vehicles (SetPlayerTeam must be used!).
This function has no parameters.
Return Values:
This function does not return any specific values.
public OnGameModeInit() { EnableVehicleFriendlyFire(); return 1; }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- SetPlayerTeam: Set a player's team.