IsPlayerActuallyInVehicle: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

27 January 2023

  • curprev 17:3717:37, 27 January 2023Dragon talk contribs 2,240 bytes +2,240 Created page with "{{Useful Function}} __NOTOC__ This function provides a hacky way to recreate the client-side behavior of isPedInVehicle server-sided for player elements ONLY. It checks if a specified player is actually in a vehicle and not just in the process of entering. ==Syntax== <syntaxhighlight lang="lua">bool isPlayerActuallyInVehicle ( player thePlayer )</syntaxhighlight> ===Required Arguments=== * '''thePlayer''': a player to check if they are inside a ve..."