Search results

Jump to navigation Jump to search
  • <syntaxhighlight lang="lua">bool isPlayerInVehicle ( player thePlayer )</syntaxhighlight> -- if it exists,
    2 KB (204 words) - 11:48, 26 June 2014
  • ...es a vehicle (stops it in its position and disables movement) or unfreezes it. ...lean denoting whether we want to freeze (''true'') or unfreeze (''false'') it.
    2 KB (249 words) - 20:21, 4 September 2016
  • ...n returns the current rotation (in degrees) of a player around the Z axis. It's used with on-foot players: use [[getVehicleRotation]] on the occupied [[v if isPlayerInVehicle ( sourcePlayer ) then
    1 KB (189 words) - 16:13, 13 February 2015
  • *Returns ''true'' if the vehicle is frozen, ''false'' if it isn't or if invalid arguments were passed. if isPlayerInVehicle ( thePlayer ) then
    2 KB (216 words) - 11:51, 26 June 2014
  • '''Attention:''' Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. <br> ...If the player being warped to is in a vehicle with a free passenger seat, it will warp into the vehicle.
    5 KB (579 words) - 16:20, 17 April 2016
  • {{Warning|Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. Use [ ...If the player being warped to is in a vehicle with a free passenger seat, it will warp into the vehicle.
    5 KB (677 words) - 21:23, 8 December 2018
  • ...If the player being warped to is in a vehicle with a free passenger seat, it will warp into the vehicle. -- Make sure it exists!
    5 KB (635 words) - 02:48, 9 December 2012
  • -- Make sure it exists! if ( isPlayerInVehicle ( player2 ) ) then
    6 KB (510 words) - 23:46, 5 January 2017
  • ...lag />) in the .map file, the using "flag" as the type argument would find it. ...rInVehicle ( thePlayer ) ) then -- if the player is in a vehicle, announce it
    6 KB (823 words) - 20:00, 14 October 2018