Skip to content

Commit

Permalink
Update GetVehiclePedIsIn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
spacevx committed Dec 18, 2023
1 parent dd1ceec commit 817f536
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PED/GetVehiclePedIsIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The vehicle id. Returns 0 if the ped is/was not in a vehicle.
## Examples
```lua
-- This example gets the vehicle the player is currently in
-- This example gets the vehicle the player is currently in and sets the engine health to 1000
-- Retrieve the player ped
local playerPed = PlayerPedId()
Expand All @@ -35,7 +35,7 @@ SetVehicleEngineHealth(vehicle, 1000.0)
```

```js
// This example gets the vehicle the player is currently in
// This example gets the vehicle the player is currently in and sets the engine health to 1000

// Retrieve the player ped
const playerPed = PlayerPedId();
Expand All @@ -51,7 +51,7 @@ SetVehicleEngineHealth(vehicle, 1000.0);
```

```cs
// This example gets the vehicle the player is currently in
// This example gets the vehicle the player is currently in and sets the engine health to 1000
using static CitizenFX.Core.Native.API;

// Retrieve the player ped
Expand Down

0 comments on commit 817f536

Please sign in to comment.