SA-MP Forums Archive
[PROBLEM] CreatePlayerDynamicObject(... , Float:DrawDistance) - 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: [PROBLEM] CreatePlayerDynamicObject(... , Float:DrawDistance) (/showthread.php?tid=435476)



[PROBLEM] CreatePlayerDynamicObject(... , Float:DrawDistance) - Baltazar - 07.05.2013

Has anyone created a function CreatePlayerDynamicObject() WITH a DrawDistance parameter? Where can a find it? Thanks


Re: [PROBLEM] CreatePlayerDynamicObject() - JacobSanchez - 07.05.2013

Use the samp wiki that is a big help for things like this...

https://sampwiki.blast.hk/

Hope I could help a little


Re: [PROBLEM] CreatePlayerDynamicObject() - Baltazar - 07.05.2013

Quote:
Originally Posted by JacobSanchez
Посмотреть сообщение
Use the samp wiki that is a big help for things like this...

https://sampwiki.blast.hk/

Hope I could help a little
I am really sorry about saying that, but Wiki doesn't help here :/


Re: [PROBLEM] CreatePlayerDynamicObject() - JacobSanchez - 07.05.2013

Quote:
Originally Posted by Baltazar
Посмотреть сообщение
I am really sorry about saying that, but Wiki doesn't help here :/
Oh, Well.. Could you try to explain to me a bit more what your problem is?


Re: [PROBLEM] CreatePlayerDynamicObject() - Baltazar - 07.05.2013

Quote:
Originally Posted by JacobSanchez
Посмотреть сообщение
Oh, Well.. Could you try to explain to me a bit more what your problem is?
I'm developing a "LODs Streamer". It requires a parameter DrawDistance since it has to be visible from far away AND the visibility of the object depends on who looks, hence I need a function, like CreatePlayerDynamicObject(..., Float:DrawDistance).
Actually, I may use plain CreatePlayerObject() for this purpose. Thanks for inducing some thoughts, mate :D


Re: [PROBLEM] CreatePlayerDynamicObject(... , Float:DrawDistance) - MP2 - 07.05.2013

Use CreateDynamicObjectEx.


Re: [PROBLEM] CreatePlayerDynamicObject(... , Float:DrawDistance) - Goldilox - 07.05.2013

pawn Код:
CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);



Re: [PROBLEM] CreatePlayerDynamicObject(... , Float:DrawDistance) - RajatPawar - 07.05.2013

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