EntityWrappers/VehicleWrapper
FVehicleProperties
Represents the properties of a FPed.
Methods
SetSpeed
Sets the "Speed" property of the vehicle.
Parameters
| Name | Type | Description |
|---|---|---|
| speed | float | The speed. |
IsSirenActive
Sets the "BlockPermanentEvents" property of the ped.
Parameters
| Name | Type | Description |
|---|---|---|
| value | bool | true to block permanent events; otherwise, false. |
MarkAsNoLongerNeeded
Invokes the "MarkAsNoLongerNeeded" method on the ped.
CreateBlip
Creates a blip for the FPed.
Parameters
| Name | Type | Description |
|---|---|---|
| sprite | FBlipSprite | The |
| color | FBlipColor | The |
| text | string | The text to display on the blip. If |
RemoveBlips
Removes all blips from the FPed.
Properties
Speed
Gets the Speed.
Type: Task<float>