EnableVehicleFriendlyFire

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
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




EnableVehicleFriendlyFire was added in SA-MP 0.3x 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!).


Parameters:
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.

In other languages