Function scripthookv::get_all_world_objects [−][src]
Expand description
Gets all objects present in the world.
Gets all object handles stored in atDScriptObjectNode
using ScriptHookV’s worldGetAllObjects. The result is limited to a maximum of 4096 objects.
for object in get_all_world_objects().iter() {
/* do something with the object handle */
}