15.03.2011, 15:18
Update
Added support for globalized containers (same container can be used in all loaded scripts)
New natives
Also added map_clear for clearing a map.
Added support for globalized containers (same container can be used in all loaded scripts)
New natives
Код:
native vector_globalize(vecid); // makes vector visible to all scripts (no data loss) native vector_deglobalize(vecid); // deglobalizes vector (vector removed from all scripts except calling script) native vector_is_globalized(vecid); // is vector ID globalized native map_globalize(mapid); // makes map visible to all scripts (no data loss) native map_deglobalize(mapid); // deglobalizes map (map removed from all scripts except calling script) native map_is_globalized(mapid); // is map ID globalized