[HELP]CreateObject - 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: [HELP]CreateObject (
/showthread.php?tid=225456)
[HELP]CreateObject -
austin070 - 13.02.2011
Hello.
I tried to create an object. For some reason, the object doesn't show up when I test it. Here is the code.
Код:
cssgate = CreateObject(8674,96.82031250,1920.46093750,16.41526413,0.00000000,90.00000000,270.00000000);
and yes, I defined it as
Re: [HELP]CreateObject -
JaTochNietDan - 13.02.2011
Well you don't need to store the ID of the object in a variable unless you intend to refer to it later. Are you sure the actual co-ordinates are correct? Did you go through any conversion process of getting it into the Pawn language? Some converters don't properly convert the co-ordinates some times.
Re: [HELP]CreateObject -
austin070 - 13.02.2011
I made it a variable because I plan on making a command to move the object. I used convertffs, and I did it 2 or 3 times.
Re: [HELP]CreateObject -
Mean - 13.02.2011
Maybe, you got over 400 objects, and you go over the limit, so not all objects show. Use a streamer then.