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



CreateDynamcObject ! - Compiler - 08.01.2016

Can Anybody give me a CreateDynamcObject Tutorial?


Re: CreateDynamcObject ! - Michael B - 08.01.2016

I don't think there's a specific tutorial for this.

The differences between CreateObject and CreateDynamicObject are the following parameters:

Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);

native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0);
Also, CreateDynamicObject surpasses the SA-MP default object limit, and it requires a Icognito's Streamer plugin and include to work.

The use is similar to CreateObject.


Re: CreateDynamcObject ! - Compiler - 08.01.2016

It Gives me these error :

Quote:

D:\Samp Server Creating\Server\pawno\include\streamer.inc(240) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"




Re: CreateDynamcObject ! - Crayder - 08.01.2016

Quote:
Originally Posted by Compiler
Посмотреть сообщение
It Gives me these error :
Include a_samp BEFORE all other includes.


Re: CreateDynamcObject ! - Compiler - 09.01.2016

I have done it


Re: CreateDynamcObject ! - Crayder - 09.01.2016

Quote:
Originally Posted by Compiler
Посмотреть сообщение
I have done it
You "have done it"

Done what? Fixed the issue? Did what I said? Lost your virginity? Graduated high school? Failed 3rd grade? Landed on the moon? Watched the dumbest movie ever? Reported this post? Reported your own post? DONE WHAT?


Re: CreateDynamcObject ! - Compiler - 10.01.2016

Included a_samp before all the includes but still it gives me these errors.