mirror of
https://github.com/BeamMP/Docs.git
synced 2025-07-01 15:35:56 +00:00
Update docs/en/scripting/server/latest-server-reference.md
This commit is contained in:
parent
9fef1b7972
commit
099548fdad
@ -1178,7 +1178,7 @@ Triggered when a player spawns a new vehicle. The `data` argument contains the c
|
|||||||
Arguments: `player_id: number`, `vehicle_id: number`, `data: string`
|
Arguments: `player_id: number`, `vehicle_id: number`, `data: string`
|
||||||
Cancellable: YES
|
Cancellable: YES
|
||||||
|
|
||||||
Triggered when a player edits their vehicle and applies the edit. The `data` argument contains the car's updated configuration as a json string but does **not** include positional or rotational data.
|
Triggered when a player edits their vehicle and applies the edit. The `data` argument contains the car's updated configuration as a json string but does **not** include positional or rotational data. You can use [MP.GetPositionRaw](#mpgetpositionrawpid-number-vid-number-tablestring) to get positional and rotational data.
|
||||||
|
|
||||||
##### `onVehicleDeleted`
|
##### `onVehicleDeleted`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user