24.08.2018, 08:13
Quote:
Just one more thing and I will shut up :P
Add some more arguments, like virtualworld, interior or streamdistance/drawdistance. This will make it much more useful! Some maps are just for specific interiors or virtualworlds or even players. Give the users some options Anyway, good update! |
At the moment I'm write a plugin. And there it is.
PHP код:
public OnMapCreate(mapid, objectid);
public OnMapDestroy(mapid, objectid);
public OnDynamicMapCreate(mapid, objectid);
public OnDynamicMapDestroy(mapid, objectid);
native LoadMapFromFile(const path[]);
native LoadObjectsFromMap(mapid, Float:drawdistance = 200.0);
native DestroyMapObjects(mapid);
#if defined _streamer_included
native LoadDynamicObjectsFromMap(mapid, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA - 1, priority = 0);
native DestroyDynamicMapObjects(mapid);
#endif