27.09.2016, 17:18
if you check CreateDynamicObject native in streamer include you will see their default value [ if not re set ] is -1 so that mean -1 tell the script to show the object in all worlds / interiors...
also you can use .varname = value, to set special var's value for ex:
PHP код:
native STREAMER_TAG_OBJECT 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 код:
CreateDynamicObject(13607, -1460.199829, -943.961182, 219.348648, 0.0000, 0.0000, 0.0000, .playerid = 1);