SA-MP Forums Archive
CreateObject problem - 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)
+--- Thread: CreateObject problem (/showthread.php?tid=463664)



CreateObject problem - Aleksabre - 13.09.2013

When I map some thing and add to my server "createobject" under everything:
e.g: createobject(3219381293891239128391231) // example this is in grove street
So I make something in different location no matter where;
e.g: createobject(3219381293891239128391231) // example this is in grove street
createobject(391209301293012930129312)// this is my new coordinate

when I add it to server complie it says I dont have any warning or error, but when I start the server, or grove street map is here or "this new coordinate" cannot be two things on the server, I mean I have maybe 7 bases in my server, but when I make someone, one or two bases are invisible, just cars, why?


Re: CreateObject problem - Sliceofdeath - 13.09.2013

You are using "createobject" from the starting ? or this is first time you converted to this ?


Re: CreateObject problem - Aleksabre - 13.09.2013

It's "CreateObject" I use map editor to map and when i get a codes of it, i add it in pawno and complie it and no errors or warnings, i start the server join and there is no the objects i made, or even some other bases get invisible, why?


Re: CreateObject problem - davve95 - 13.09.2013

It looks wrong.. It should look: CreateObject, id, X, Y, Z, rX, rY, rZ, draw distance);

https://sampwiki.blast.hk/wiki/CreateObject


Re: CreateObject problem - Aleksabre - 13.09.2013

Hello,
I know to add CreateObject, look;
//some object
CreateObject(19450, 2486.40649, -1756.03967, 14.29760, 0.00000, 0.00000, 359.74350);
//------------------------
then I make under this line one object again, and when I add it, some object get removed, why?