CreateObjects are not Creating
#6

Quote:
Originally Posted by Shotshy
Посмотреть сообщение
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.
Kalcor has nothing to do with this error that happens to you. XD

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...
}
Ohhh, and of course, I noticed that you are not using custom objects, but normal GTA objects, so i supose that objects are in the rest of the script..., but I hope that your problem has been solved. Let us know if it was.

And I have the doubt about why it is that when leaving the filterscript you need to destroy the objects?
Reply


Messages In This Thread
CreateObjects are not Creating - by Shotshy - 15.02.2018, 14:10
Re: CreateObjects are not Creating - by Nokia17Rocks - 15.02.2018, 16:40
Re: CreateObjects are not Creating - by Shotshy - 15.02.2018, 16:49
Re: CreateObjects are not Creating - by Nokia17Rocks - 16.02.2018, 05:14
Re: CreateObjects are not Creating - by Shotshy - 16.02.2018, 15:29
Re: CreateObjects are not Creating - by Nokia17Rocks - 17.02.2018, 18:53
Re: CreateObjects are not Creating - by Shotshy - 18.02.2018, 20:43
Re: CreateObjects are not Creating - by DavidZvla - 20.02.2018, 06:46
Re: CreateObjects are not Creating - by Shotshy - 20.02.2018, 18:26
Re: CreateObjects are not Creating - by Shotshy - 22.02.2018, 15:53
Re: CreateObjects are not Creating - by Nokia17Rocks - 26.02.2018, 04:09
Re: CreateObjects are not Creating - by Shotshy - 28.02.2018, 16:28
Re: CreateObjects are not Creating - by Jithu - 01.03.2018, 02:37
Re: CreateObjects are not Creating - by m4karow - 01.03.2018, 09:52
Re: CreateObjects are not Creating - by tandytanz - 24.11.2018, 19:48
Re: CreateObjects are not Creating - by OKStyle - 03.12.2018, 07:49

Forum Jump:


Users browsing this thread: 1 Guest(s)