SA-MP Forums Archive
[ERROR] CreateObject MAX [English] - 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: [ERROR] CreateObject MAX [English] (/showthread.php?tid=508976)



[ERROR] CreateObject MAX [English] - KevinFunchal - 24.04.2014

Hello, my name is Kevin_Funchal, I have a problem in an RPG GM, it is a great GM, never gave error, but the problem is this:

CreateObject (taltaltaltal);

Create normal, correct objects, compile al.
The moment I turn on the server and enter the ANCIENT OBJECTS vanish,
and NEW THAT I PUT appear, because this happens?


Quote:

DEFINE ACTUAL:
ATUAL DEFINE:

#define UpdateTime 300 //update time in ms (milliseconds).
#define ObjectsToStream 400 //maximum number of objects that will be streamed for one player (maximum = 400 objects).
#define StreamRange 400.0

This can help?
I will be very grateful if you help me.


Re: [ERROR] CreateObject MAX [English] - arakuta - 24.04.2014

Could you explain better what happens? You are kinda confusing.


Re : [ERROR] CreateObject MAX [English] - Ramoboss - 25.04.2014

Look, try to convert your objects from CreateObject to CreateDynamicObject

https://sampforum.blast.hk/showthread.php?tid=102865

there is the plugin/include that you need,
don't forget that there is a limit of objects in sa:mp, 200-300 i think, so you need a streamer


Re: Re : [ERROR] CreateObject MAX [English] - Mattakil - 25.04.2014

Quote:
Originally Posted by Ramoboss
Посмотреть сообщение
Look, try to convert your objects from CreateObject to CreateDynamicObject

https://sampforum.blast.hk/showthread.php?tid=102865

there is the plugin/include that you need,
don't forget that there is a limit of objects in sa:mp, 200-300 i think, so you need a streamer
Yes, use a streamer. The syntax to properly do it (to allow interiors etc) is like this:

pawn Код:
CreateDynamicObject(modelid, X, Y, Z, RX, RY, RZ, worldid, interiorid, -1); //-1 is playerid, leave it.



Re: [ERROR] CreateObject MAX [English] - KevinFunchal - 25.04.2014

Thank you, Thank you!

Thank you, to "RamoBoss e MataKill" solved my problem. Thank same, God bless you!
Arakuta Thanks also for paying attention! thank man!

@CLOSED




Re : [ERROR] CreateObject MAX [English] - Ramoboss - 25.04.2014

you could at least give a rep...