ObjectClient

setObjectIsSpecialGolfball

SET_OBJECT_IS_SPECIAL_GOLFBALL0xC6033D32241F6FB5

The 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.

SignatureJavaScript
setObjectIsSpecialGolfball(object: Object, toggle: boolean): void
SignatureLua
setObjectIsSpecialGolfball(object: Object, toggle: boolean)

Usage

JavaScript
setObjectIsSpecialGolfball(object, toggle);
Lua
setObjectIsSpecialGolfball(object, toggle)

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger
toggleBOOLbooleanboolean

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

Open in the interactive natives reference