17.02.2018, 18:53
Quote:
https://imgur.com/a/yOdDG
I tried again on 0.3.7 and it's working, on 0.3.DL it is not working. kalcor maybe you did somethink wrong when you added 2000 MAX_OBJECTS and Custom Objects? Please fix this. |
It happens that your new tmpobjid; you are creating it out of stock, so when you read the stock it only maps the first object, and the others no longer.
Then you should do the following:
Код:
stock CreateESRPMaps() { new tmpobjid; tmpobjid = CreateDynamicObject(7009, 1871.825, -1713.793, 26.475, 0.000, 0.000, -90.000, 400.000); SetDynamicObjectMaterial(tmpobjid, 0, 13715, "richman02_lahills", "monobloc_256118", 0x00000000); tmpobjid = CreateDynamicObject(19545, 1862.880, -1628.268, 12.513, 0.000, 0.000, 90.000, 400.000); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_runwaytarmac", 0x00000000); And all your other objects... }
And I have the doubt about why it is that when leaving the filterscript you need to destroy the objects?