29.03.2019, 11:06
So you guys completely ignored my solution...
and you use "." when you want to specify a parameter in your code and want the other parameters in between that specific parameter to use default value.
such as:
You might just want to modify the "streamdistance", why would you define the parameters in between "rz" and "streamdistance"? So you can just directly use:
and you use "." when you want to specify a parameter in your code and want the other parameters in between that specific parameter to use default value.
such as:
PHP Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0)
PHP Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, .streamdistance = 100.0);