SA-MP Forums Archive
few objects don't load - 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: few objects don't load (/showthread.php?tid=351777)



few objects don't load - Stefand - 17.06.2012

Hey,

All of my objects load, except 4 of them -.-

I just mapped a stairs a helipad and a sherrif sign at the SASO...
and I mapped an ATM box on preshing square.

all of these objects dont show up!

anyone have a suggestion how to fix it?

pawn Код:
//ATMS
CreateObject(2942, 1416.09, -1688.50, 13.19,   0.00, 0.00, 90.00);
pawn Код:
//saso
CreateObject(8615, 614.21, -592.60, 18.95, 0.00, 0.00, 180.00);
CreateObject(3934, 612.03, -604.08, 21.72, 0.00, 0.00, 0.00);
CreateObject(11453, 627.68, -552.29, 16.31, 0.00, 0.00, 90.00);



Re : few objects don't load - Ataraxia - 17.06.2012

Try using "CreateDynamicObjet", instead of CreateObject, from YSI includes.


Re: few objects don't load - Stefand - 17.06.2012

already tried didn't work


Re : few objects don't load - Ataraxia - 17.06.2012

Did you put your objects in "OnGameModeInit" ? You have to.


Re: few objects don't load - Stefand - 17.06.2012

I have this:

LoadObjects();

pawn Код:
stock LoadObjects();
{
objects......
return 1;
}
and with all my objects its working but not with that 4 objects..