SA-MP Forums Archive
Question - 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: Question (/showthread.php?tid=538123)



Question - [rG]Cold - 19.09.2014

Let's say you have a server.
You also have a FS linked to the server that contains CreateDynamicObject objects.
You also have a GM that contains CreateObject.

Will that conflict in any way?


Re: Question - MikeEd - 19.09.2014

No it wont, tried it myself. However its better to just convert the "CreateObject" to "CreateDynamicObject", there will be a point in which the object limit will exceed so its always better to use "CreateDynamicObject"


Re: Question - Pottus - 19.09.2014

Quote:
Originally Posted by MikeEd
Посмотреть сообщение
No it wont, tried it myself. However its better to just convert the "CreateObject" to "CreateDynamicObject", there will be a point in which the object limit will exceed so its always better to use "CreateDynamicObject"
Really depends on the application CreateObject() has it's purposes where CreateDynamicObject() might not perform well such as playing a series of movements with MoveObject() using CreateDynamicObject() (aka player objects) looks really bad and CreateObject() is the best solution. Often in that case the objects are only temporary.


Re: Question - [rG]Cold - 19.09.2014

So the fact that the CreateDynamicObject() in the FS dissapearing after some time has nothing to do with that?
I'm using CreateObject() to set some textures! (in the GM)


Re: Question - MikeEd - 19.09.2014

IMO, No. Try pasting the CreateDynamicObject code onto the gamemode.


Re: Question - [rG]Cold - 19.09.2014

Forgot to mention that only happens when i turn on the server @ my host not localhost.