SA-MP Forums Archive
Please help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please help (/showthread.php?tid=210812)



Please help - darkknight123 - 13.01.2011

Hello, Im useing 0.3c and when i try to put a map in my scripts it works fine the vehicles appear but the objects don't why is this?


Re: Please help - ғαιιοцт - 13.01.2011

Can you post the code how you add objects?


Re: Please help - darkknight123 - 13.01.2011

how i normaly do it


Quote:

CreateObject(690, 1588.221436, -3283.899902, 6.232273, 0.8594, 2.5783, 157.5000);
CreateObject(690, 1744.233765, -3289.131348, 4.502897, 0.8594, 2.5783, 22.5001);
CreateObject(690, 1774.487549, -3389.913818, 2.704010, 0.0000, 2.5783, 247.5001);
CreateObject(690, 1788.979126, -3390.708008, 2.703423, 0.0000, 2.5783, 247.5001);
CreateObject(690, 1761.866577, -3394.324707, 5.213995, 0.0000, 2.5783, 225.0001);
CreateObject(690, 1751.141357, -3394.957031, 3.349558, 0.0000, 2.5783, 196.4840);
CreateObject(690, 1733.931641, -3394.434082, 4.498350, 0.0000, 2.5783, 135.0000);
CreateObject(690, 1717.955933, -3394.524170, 4.276633, 0.0000, 2.5783, 67.5001);
CreateObject(690, 1701.470825, -3393.394287, 4.005806, 0.0000, 2.5783, 22.5000);
CreateObject(690, 1690.884644, -3390.804688, 3.358764, 0.0000, 2.5783, 101.2502);
CreateObject(690, 1675.532959, -3392.912109, 3.520401, 0.0000, 2.5783, 56.2502);
CreateObject(690, 1662.651978, -3386.567383, 1.778315, 0.0000, 2.5783, 90.0002);
CreateObject(690, 1647.604370, -3388.049316, 1.993582, 0.0000, 2.5783, 45.0003);
CreateObject(690, 1632.440674, -3385.249268, 1.696732, 0.0000, 2.5783, 45.0003);
CreateObject(690, 1616.836426, -3385.177490, 1.366890, 0.0000, 2.5783, 45.0003);
CreateObject(690, 1602.918945, -3383.528564, 0.824169, 0.0000, 2.5783, 78.7502);




Re: Please help - Babul - 13.01.2011

you missed to add the viewdistance
https://sampwiki.blast.hk/wiki/CreateObject

CreateObject(690, 1588.221436, -3283.899902, 6.232273, 0.8594, 2.5783, 157.5000,250);//if its a street f.ex 250


Re: Please help - Georgelopez1 - 13.01.2011

www.convertffs.com


Re: Please help - darkknight123 - 13.01.2011

wow Thanks George i wish i knew about this site
but still no luck
:/


Re: Please help - ғαιιοцт - 14.01.2011

ofcourse no luck, it makes no difference because the drawdistance parameter is not required, it also works without it.

Where did you put the objects? under OnGameModeInit?


Re: Please help - darkknight123 - 14.01.2011

yes, but that realy shouldnt make any difference


Re: Please help - ғαιιοцт - 14.01.2011

then the only thing I think that could be wrong is the object id.

what is object id 690 ? maybe it just doesn't exist.


Re: Please help - darkknight123 - 14.01.2011

No They are all the right ID....are you shure its nothing else?