setTrailerAttachmentEnabled
SET_TRAILER_ATTACHMENT_ENABLED0x2FA2494B47FDD009The GTA V native SET_TRAILER_ATTACHMENT_ENABLED of the VEHICLE namespace, as LS:MP client scripts call it: the global function setTrailerAttachmentEnabled, in JavaScript and in Lua.
setTrailerAttachmentEnabled(p0: any, p1: any): voidsetTrailerAttachmentEnabled(p0: any, p1: any)Usage
JavaScript
setTrailerAttachmentEnabled(p0, p1);Lua
setTrailerAttachmentEnabled(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Any | any | any |
p1 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_TRAILER_ATTACHMENT_ENABLED(Any p0, Any p1)- Hash
0x2FA2494B47FDD009- Introduced
- Game build 1103 legacy numbering