diff --git a/ENTITY/FreezeEntityPosition.md b/ENTITY/FreezeEntityPosition.md index ee6a100b1..4adfdde12 100644 --- a/ENTITY/FreezeEntityPosition.md +++ b/ENTITY/FreezeEntityPosition.md @@ -41,11 +41,11 @@ using static CitizenFX.Core.Native.API; // Freeze the local player. // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Freeze the ped FreezeEntityPosition(playerPed, true); // or the preferred use of C# wrapper Game.PlayerPed.IsPositionFrozen = true; -``` \ No newline at end of file +``` diff --git a/ENTITY/SetPickUpByCargobobDisabled.md b/ENTITY/SetPickUpByCargobobDisabled.md index d90fd3156..0f980682d 100644 --- a/ENTITY/SetPickUpByCargobobDisabled.md +++ b/ENTITY/SetPickUpByCargobobDisabled.md @@ -63,10 +63,10 @@ SetPickUpByCargobobDisabled(vehicle, true); using static CitizenFX.Core.Native.API; // Retrieve the player ped. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the player's vehicle. -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // Check if the vehicle exists in the game world. if (!DoesEntityExist(vehicle)) { @@ -76,4 +76,4 @@ if (!DoesEntityExist(vehicle)) { // Prevent the vehicle from being picked up by Cargobobs. SetPickUpByCargobobDisabled(vehicle, true); -``` \ No newline at end of file +``` diff --git a/MISC/GetDistanceBetweenCoords.md b/MISC/GetDistanceBetweenCoords.md index d46dfd1e0..27f2586e2 100644 --- a/MISC/GetDistanceBetweenCoords.md +++ b/MISC/GetDistanceBetweenCoords.md @@ -43,6 +43,6 @@ float dist = GetDistanceBetweenCoords(0f, 0f, 0f, 5f, 5f, 5f, true) Vector3 firstVec = new Vector3(0f, 0f, 0f); Vector3 secondVec = new Vector3(5f, 5f, 5f); -float dist = firstVec.DistanceToSquared(secondVec); -- Use Z -float dist = firstVec.DistanceToSquared2D(secondVec); -- Do not use Z -``` \ No newline at end of file +float dist = firstVec.DistanceToSquared(secondVec); // Use Z +float dist = firstVec.DistanceToSquared2D(secondVec); // Do not use Z +``` diff --git a/PED/GetVehiclePedIsIn.md b/PED/GetVehiclePedIsIn.md index a26af6dc4..0ca2105d9 100644 --- a/PED/GetVehiclePedIsIn.md +++ b/PED/GetVehiclePedIsIn.md @@ -61,10 +61,10 @@ console.log(`Vehicle ID: ${vehicle}`); using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is currently in. -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // Check if the vehicle exists in the game world. if (!DoesEntityExist(vehicle)) { diff --git a/PED/SetPedPhonePaletteIdx.md b/PED/SetPedPhonePaletteIdx.md index d18a9ce51..e944f393e 100644 --- a/PED/SetPedPhonePaletteIdx.md +++ b/PED/SetPedPhonePaletteIdx.md @@ -68,7 +68,7 @@ const playerPed = PlayerPedId(); SetPedPhonePaletteIdx(playerPed, PhoneColors.Green); ``` -```csharp +```cs using static CitizenFX.Core.Native.API; // Define an enum with color names and their corresponding indices @@ -84,8 +84,8 @@ public enum PhoneColors } // Retrieve the current player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Set the phone color of the player's ped to Green using the enum value SetPedPhonePaletteIdx(playerPed, (int)PhoneColors.Green); -``` \ No newline at end of file +``` diff --git a/VEHICLE/ArePlaneControlPanelsIntact.md b/VEHICLE/ArePlaneControlPanelsIntact.md index 9973363a8..dc6d4dffe 100644 --- a/VEHICLE/ArePlaneControlPanelsIntact.md +++ b/VEHICLE/ArePlaneControlPanelsIntact.md @@ -39,7 +39,7 @@ else end ``` -```javascript +```js // Retrieve the player ped const playerPed = PlayerPedId(); @@ -59,14 +59,14 @@ if (controlPanelsIntact) { } ``` -```csharp +```cs using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the plane the player is currently flying -Vehicle plane = GetVehiclePedIsIn(playerPed, false); +int plane = GetVehiclePedIsIn(playerPed, false); // If the player is not flying a plane, return if (plane == 0 || !IsThisModelAPlane(GetEntityModel(plane))) return; diff --git a/VEHICLE/CanCargobobPickUpEntity.md b/VEHICLE/CanCargobobPickUpEntity.md index 5be61a82e..e3eb17a73 100644 --- a/VEHICLE/CanCargobobPickUpEntity.md +++ b/VEHICLE/CanCargobobPickUpEntity.md @@ -89,16 +89,16 @@ if (CanCargobobPickUpEntity(vehicle, entityID)) { using static CitizenFX.Core.Native.API; // Retrieve the player ped. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the player's vehicle (cargobob). -Vehicle cargobob = GetVehiclePedIsIn(playerPed, false); +int cargobob = GetVehiclePedIsIn(playerPed, false); // Retrieve the model hash of the cargobob. uint model = GetEntityModel(cargobob); // Check if the vehicle exists and if it's a Cargobob. If not, terminate the script. -if (!DoesEntityExist(cargobob) || (uint)GetHashKey("cargobob") != model) { +if (!DoesEntityExist(cargobob) || model != (uint)GetHashKey("cargobob")) { return; } @@ -115,4 +115,4 @@ if (CanCargobobPickUpEntity(vehicle, entityID)) { } else { Debug.WriteLine("Cargobob can't pick up the specified entity"); } -``` \ No newline at end of file +``` diff --git a/VEHICLE/ClearNitrous.md b/VEHICLE/ClearNitrous.md index 717d681e9..047487059 100644 --- a/VEHICLE/ClearNitrous.md +++ b/VEHICLE/ClearNitrous.md @@ -36,7 +36,7 @@ if IsNitrousActive(vehicle) then end ``` -```javascript +```js // Retrieve the player ped. const playerPed = PlayerPedId(); @@ -53,7 +53,7 @@ if (IsNitrousActive(vehicle)) { } ``` -```csharp +```cs using static CitizenFX.Core.Native.API; // Retrieve the player ped @@ -70,4 +70,4 @@ if (IsNitrousActive(vehicle)) { // If nitrous is active, clear the nitrous boost from the vehicle. ClearNitrous(vehicle); } -``` \ No newline at end of file +``` diff --git a/VEHICLE/DetachEntityFromCargobob.md b/VEHICLE/DetachEntityFromCargobob.md index a9bc85aa4..dfe4f911c 100644 --- a/VEHICLE/DetachEntityFromCargobob.md +++ b/VEHICLE/DetachEntityFromCargobob.md @@ -77,10 +77,10 @@ using static CitizenFX.Core.Native.API; // This example detaches a specific entity from a Cargobob. // Retrieve the player ped. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the player's vehicle. -Vehicle cargobob = GetVehiclePedIsIn(playerPed, false); +int cargobob = GetVehiclePedIsIn(playerPed, false); // Retrieve the model hash of the cargobob. uint cargobobModel = (uint)GetEntityModel(cargobob); diff --git a/VEHICLE/GetBoatVehicleModelAgility.md b/VEHICLE/GetBoatVehicleModelAgility.md index db1118d66..0eac24bee 100644 --- a/VEHICLE/GetBoatVehicleModelAgility.md +++ b/VEHICLE/GetBoatVehicleModelAgility.md @@ -75,10 +75,10 @@ console.log(`Boat Agility: ${agility}`); using static CitizenFX.Core.Native.API; // Retrieve the player ped. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is currently in. -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // Retrieve the model hash of the boat. uint boatHash = GetEntityModel(vehicle); @@ -89,8 +89,8 @@ if (!DoesEntityExist(vehicle) || !IsThisModelABoat(boatHash)) { } // Retrieve the agility of the boat. -const float agility = GetBoatVehicleModelAgility(boatHash); +float agility = GetBoatVehicleModelAgility(boatHash); // Print the agility of the boat. Debug.WriteLine($"Boat Agility: {agility}"); -``` \ No newline at end of file +``` diff --git a/VEHICLE/GetIsBoatCapsized.md b/VEHICLE/GetIsBoatCapsized.md index aecfe5400..09a99a8d0 100644 --- a/VEHICLE/GetIsBoatCapsized.md +++ b/VEHICLE/GetIsBoatCapsized.md @@ -87,10 +87,10 @@ if (GetIsBoatCapsized(vehicle)) { using static CitizenFX.Core.Native.API; // Retrieve the LocalPlayer. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is in -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // Retrieve the model of the vehicle uint vehicleModel = (uint)GetEntityModel(vehicle); diff --git a/VEHICLE/GetMakeNameFromVehicleModel.md b/VEHICLE/GetMakeNameFromVehicleModel.md index ef79f7145..cebe754a5 100644 --- a/VEHICLE/GetMakeNameFromVehicleModel.md +++ b/VEHICLE/GetMakeNameFromVehicleModel.md @@ -75,10 +75,10 @@ console.log(`Vehicle Manufacturer: ${manufacturer}`); using static CitizenFX.Core.Native.API; // Retrieve the player ped. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is currently in. -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // If the vehicle does not exist, end the execution of the code here. if (!DoesEntityExist(vehicle)) { @@ -93,4 +93,4 @@ string manufacturer = GetMakeNameFromVehicleModel(vehicleHash); // Print the manufacturer of the vehicle. Debug.WriteLine($"Vehicle Manufacturer: {manufacturer}"); -``` \ No newline at end of file +``` diff --git a/VEHICLE/GetVehicleAcceleration.md b/VEHICLE/GetVehicleAcceleration.md index a5f5ea609..62a9c6e4e 100644 --- a/VEHICLE/GetVehicleAcceleration.md +++ b/VEHICLE/GetVehicleAcceleration.md @@ -67,10 +67,10 @@ console.log(`Vehicle Acceleration: ${acceleration}`); using static CitizenFX.Core.Native.API; // Retrieve the player ped. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is currently in. -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // If the vehicle does not exist, end the execution of the code here. if (!DoesEntityExist(vehicle)) { @@ -78,8 +78,8 @@ if (!DoesEntityExist(vehicle)) { } // Retrieve the acceleration of the vehicle. -const float acceleration = GetVehicleAcceleration(vehicle); +float acceleration = GetVehicleAcceleration(vehicle); // Print the acceleration of the vehicle. Debug.WriteLine($"Vehicle Acceleration: {acceleration}"); -``` \ No newline at end of file +``` diff --git a/VEHICLE/GetVehicleEstimatedMaxSpeed.md b/VEHICLE/GetVehicleEstimatedMaxSpeed.md index d874fafce..1e39cd7b7 100644 --- a/VEHICLE/GetVehicleEstimatedMaxSpeed.md +++ b/VEHICLE/GetVehicleEstimatedMaxSpeed.md @@ -68,10 +68,10 @@ console.log(`Estimated Max Speed: ${estimatedMaxSpeed}`); using static CitizenFX.Core.Native.API; // Retrieve the player ped. -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is currently in. -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // If the vehicle does not exist, end the execution of the code here. if (!DoesEntityExist(vehicle)) { @@ -79,8 +79,8 @@ if (!DoesEntityExist(vehicle)) { } // Retrieve the estimated max speed of the vehicle. -const float estimatedMaxSpeed = GetVehicleEstimatedMaxSpeed(vehicle); +float estimatedMaxSpeed = GetVehicleEstimatedMaxSpeed(vehicle); // Print the estimated max speed of the vehicle. Debug.WriteLine($"Estimated Max Speed: {estimatedMaxSpeed}"); -``` \ No newline at end of file +``` diff --git a/VEHICLE/SetCargobobExcludeFromPickupEntity.md b/VEHICLE/SetCargobobExcludeFromPickupEntity.md index ec08e3742..d39b7ea45 100644 --- a/VEHICLE/SetCargobobExcludeFromPickupEntity.md +++ b/VEHICLE/SetCargobobExcludeFromPickupEntity.md @@ -80,10 +80,10 @@ SetCargobobExcludeFromPickupEntity(cargobob, entityID); using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the player's vehicle (cargobob) -Vehicle cargobob = GetVehiclePedIsIn(playerPed, false); +int cargobob = GetVehiclePedIsIn(playerPed, false); // Retrieve the model hash of the cargobob. uint cargobobModel = GetEntityModel(cargobob); @@ -103,4 +103,4 @@ if (!DoesEntityExist(entityID)) { // Prevent the entity from being detached from the Cargobob. SetCargobobExcludeFromPickupEntity(cargobob, entityID); -``` \ No newline at end of file +``` diff --git a/VEHICLE/SetDisableBmxExtraTrickForces.md b/VEHICLE/SetDisableBmxExtraTrickForces.md index 00a7b13cf..d31432fbf 100644 --- a/VEHICLE/SetDisableBmxExtraTrickForces.md +++ b/VEHICLE/SetDisableBmxExtraTrickForces.md @@ -33,7 +33,7 @@ if not IsThisModelABicycle(GetEntityModel(bmx)) then return end SetDisableBmxExtraTrickForces(bmx, true) ``` -```javascript +```js // Retrieve the player ped const playerPed = PlayerPedId(); @@ -47,18 +47,18 @@ if (!IsThisModelABicycle(GetEntityModel(bmx))) return; SetDisableBmxExtraTrickForces(bmx, true); ``` -```csharp +```cs using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the BMX bike the player is currently riding -Vehicle bmx = GetVehiclePedIsIn(playerPed, false); +int bmx = GetVehiclePedIsIn(playerPed, false); // If the player is not riding a BMX bike, return if (!IsThisModelABicycle(GetEntityModel(bmx))) return; // Disable the extra forces applied to BMX bikes for tricks SetDisableBmxExtraTrickForces(bmx, true); -``` \ No newline at end of file +``` diff --git a/VEHICLE/SetDisableExplodeFromBodyDamageOnCollision.md b/VEHICLE/SetDisableExplodeFromBodyDamageOnCollision.md index 3beba0c43..946c5cefe 100644 --- a/VEHICLE/SetDisableExplodeFromBodyDamageOnCollision.md +++ b/VEHICLE/SetDisableExplodeFromBodyDamageOnCollision.md @@ -33,7 +33,7 @@ local vehicle = GetVehiclePedIsIn(playerPed, false) SetDisableExplodeFromBodyDamageOnCollision(vehicle, true) ``` -```javascript +```js // Retrieve the player ped const playerPed = PlayerPedId(); @@ -44,14 +44,14 @@ const vehicle = GetVehiclePedIsIn(playerPed, false); SetDisableExplodeFromBodyDamageOnCollision(vehicle, true); ``` -```csharp +```cs using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is currently in -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // Disable explosion from body damage on collision for the vehicle SetDisableExplodeFromBodyDamageOnCollision(vehicle, true); diff --git a/VEHICLE/SetOpenRearDoorsOnExplosion.md b/VEHICLE/SetOpenRearDoorsOnExplosion.md index 4fd532f2f..1ee8d3a83 100644 --- a/VEHICLE/SetOpenRearDoorsOnExplosion.md +++ b/VEHICLE/SetOpenRearDoorsOnExplosion.md @@ -80,11 +80,11 @@ if (modelVehicle === hashStockade) { using static CitizenFX.Core.Native.API; // This example disables the rear doors of the vehicle from opening upon explosion. -// Retrieve the LocalPlayer. -Ped playerPed = PlayerPedId(); +// Retrieve the local ped. +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is currently in. -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // Check if the vehicle exists in the game world. if (!DoesEntityExist(vehicle)) diff --git a/VEHICLE/SetTransformRateForAnimation.md b/VEHICLE/SetTransformRateForAnimation.md index 76abef46f..445823d52 100644 --- a/VEHICLE/SetTransformRateForAnimation.md +++ b/VEHICLE/SetTransformRateForAnimation.md @@ -65,10 +65,10 @@ SetTransformRateForAnimation(vehicle, 2.5); using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle in which the player is currently seated -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); // Get the vehicle in which the player is currently seated +int vehicle = GetVehiclePedIsIn(playerPed, false); // Get the vehicle in which the player is currently seated // Retrieve the vehicle model hash uint vehicleHash = (uint)GetEntityModel(vehicle); @@ -82,4 +82,4 @@ if (!DoesEntityExist(vehicle) || vehicleHash != (uint)GetHashKey("stromberg")) // Set the transform rate for the submarine car conversion animations to 2.5 SetTransformRateForAnimation(vehicle, 2.5f); -``` \ No newline at end of file +``` diff --git a/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md b/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md index e9304c410..7ffd40eb0 100644 --- a/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md +++ b/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md @@ -69,10 +69,10 @@ SetTransformToSubmarineUsesAlternateInput(vehicle, true); using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle in which the player is currently seated -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // Retrieve the vehicle model hash uint vehicleHash = (uint)GetEntityModel(vehicle); diff --git a/VEHICLE/SetVehicleDoorsLocked.md b/VEHICLE/SetVehicleDoorsLocked.md index 050b79624..0c03b0326 100644 --- a/VEHICLE/SetVehicleDoorsLocked.md +++ b/VEHICLE/SetVehicleDoorsLocked.md @@ -72,21 +72,21 @@ RegisterCommand("unlockcar", () => { }, false); ``` -```csharp +```cs using static CitizenFX.Core.Native.API; // Command to lock the car of the player for everyone. RegisterCommand("lockcar", () => { - Ped playerPed = PlayerPedId(); // Get the player ped - Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); // Get the vehicle the player is in + int playerPed = PlayerPedId(); // Get the player ped + int vehicle = GetVehiclePedIsIn(playerPed, false); // Get the vehicle the player is in if (vehicle == 0) return; // If the player is not in a vehicle, return SetVehicleDoorsLocked(vehicle, 2); // Lock the doors of the vehicle }, false); // Command to unlock the car of the player for everyone. RegisterCommand("unlockcar", () => { - Ped playerPed = PlayerPedId(); // Get the player ped - Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); // Get the vehicle the player is in + int playerPed = PlayerPedId(); // Get the player ped + int vehicle = GetVehiclePedIsIn(playerPed, false); // Get the vehicle the player is in if (vehicle == 0) return; // If the player is not in a vehicle, return SetVehicleDoorsLocked(vehicle, 1); // Unlock the doors of the vehicle }, false); diff --git a/VEHICLE/SetVehicleFixed.md b/VEHICLE/SetVehicleFixed.md index b5530f7d6..ad6736f12 100644 --- a/VEHICLE/SetVehicleFixed.md +++ b/VEHICLE/SetVehicleFixed.md @@ -42,15 +42,15 @@ if (vehicle === 0) return; SetVehicleFixed(vehicle); ``` -```csharp +```cs using static CitizenFX.Core.Native.API; // ... // Get the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the vehicle the player is in -Vehicle vehicle = GetVehiclePedIsIn(playerPed, false); +int vehicle = GetVehiclePedIsIn(playerPed, false); // If the player is not in a vehicle, return if (vehicle == 0) return; diff --git a/VEHICLE/SetVehicleGeneratorAreaOfInterest.md b/VEHICLE/SetVehicleGeneratorAreaOfInterest.md index bc5a533e3..0a24963f9 100644 --- a/VEHICLE/SetVehicleGeneratorAreaOfInterest.md +++ b/VEHICLE/SetVehicleGeneratorAreaOfInterest.md @@ -51,7 +51,7 @@ SetVehicleGeneratorAreaOfInterest(coords.x, coords.y, coords.z, 100.0); using static CitizenFX.Core.Native.API; // Retrieve the player ped -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrieve the coordinates of the player. Vector3 coords = GetEntityCoords(playerPed, false); diff --git a/VEHICLE/SetVehicleInfluencesWantedLevel.md b/VEHICLE/SetVehicleInfluencesWantedLevel.md index 4e611d9d8..1f0e0b894 100644 --- a/VEHICLE/SetVehicleInfluencesWantedLevel.md +++ b/VEHICLE/SetVehicleInfluencesWantedLevel.md @@ -68,13 +68,13 @@ SetVehicleInfluencesWantedLevel(vehicle, false); using static CitizenFX.Core.Native.API; // Retrieve the LocalPlayer -Ped playerPed = PlayerPedId(); +int playerPed = PlayerPedId(); // Retrive the coordinates of the player. Vector3 playerCoords = GetEntityCoords(playerPed); // Retrieve the closest vehicle. -Vehicle vehicle = GetClosestVehicle(playerCoords.X, playerCoords.Y, playerCoords.Z, 3, 0, 70); +int vehicle = GetClosestVehicle(playerCoords.X, playerCoords.Y, playerCoords.Z, 3, 0, 70); // Check if the vehicle exists in the game world. if (!DoesEntityExist(vehicle)) @@ -85,4 +85,4 @@ if (!DoesEntityExist(vehicle)) // Set the vehicle to not influence the wanted level. SetVehicleInfluencesWantedLevel(vehicle, false); -``` \ No newline at end of file +```