Please help
#1

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?
Reply
#2

Can you post the code how you add objects?
Reply
#3

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);

Reply
#4

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
Reply
#5

www.convertffs.com
Reply
#6

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

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?
Reply
#8

yes, but that realy shouldnt make any difference
Reply
#9

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.
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)