SA-MP Forums Archive
CreateObject doesnt work? - 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: CreateObject doesnt work? (/showthread.php?tid=98408)



CreateObject doesnt work? - pierhs - 20.09.2009

With the newest upgrade all created objects are not visible.Something has changed?


Re: CreateObject doesnt work? - Sayaron - 20.09.2009

No, it works perfectly for me. Even with and without streamer


Re: CreateObject doesnt work? - kingworldsoft - 20.09.2009

I add the objects with YSI and I do not have problems in the RC6-2


Re: CreateObject doesnt work? - pierhs - 21.09.2009

I still cant find the problem.Before RC6-2 all created object was fine...


Re: CreateObject doesnt work? - Sayaron - 21.09.2009

Do you use a filterscript or is it built into the GM?


Re: CreateObject doesnt work? - pierhs - 23.09.2009

Its inside the GM.also my vehicles dont spawn(AddStaticVehicle).I have many problems with the new update


Re: CreateObject doesnt work? - Sayaron - 24.09.2009

Quote:
Originally Posted by pierhs
Its inside the GM.also my vehicles dont spawn(AddStaticVehicle).I have many problems with the new update
Thats wierd, this only happend to me when I used a FS, then the objects in my GM disapeard. If you got any FS with objects, disable them and try again


Re: CreateObject doesnt work? - kaisersouse - 24.09.2009

I will bet money that this is 100% a script problem. Mind posting some of your code?


Re: CreateObject doesnt work? - Sayaron - 24.09.2009

Gotta be very new if you can manage to do CreateObject and AddStaticVehicle wrong, should disable the objects in the FS's first. If tht dont work, kaisersouse is right


Re: CreateObject doesnt work? - Daren_Jacobson - 25.09.2009

this is usually because there is an error, on OnGameModeInit is terminated before it is done, try putting a printf on every other line (not inside for loops!) with the number inside it getting higher. run your script and see if they stop before they were supposed too.