setObjectIsSpecialGolfball
SET_OBJECT_IS_SPECIAL_GOLFBALL0xC6033D32241F6FB5The GTA V native SET_OBJECT_IS_SPECIAL_GOLFBALL of the OBJECT namespace, as LS:MP client scripts call it: the global function setObjectIsSpecialGolfball, in JavaScript and in Lua.
setObjectIsSpecialGolfball(object: Object, toggle: boolean): voidsetObjectIsSpecialGolfball(object: Object, toggle: boolean)Usage
JavaScript
setObjectIsSpecialGolfball(object, toggle);Lua
setObjectIsSpecialGolfball(object, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void SET_OBJECT_IS_SPECIAL_GOLFBALL(Object object, BOOL toggle)- Hash
0xC6033D32241F6FB5