Vehicle::setDoorsLockedForAllPlayers

From RAGE Multiplayer Wiki
Revision as of 23:49, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

After some analysis, I've decided that these are what the parameters are.

We can see this being used in R* scripts such as 'am_mp_property_int.ysc.c4':
l_11A1 = Player::GET_VEHICLE_Player_IS_IN(PLAYER::PLAYER_Player_ID(), 1);
...
VEHICLE::SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS(l_11A1, 1);

Syntax

vehicle.setDoorsLockedForAllPlayers(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also