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



Help - BlackEvils - 11.12.2014

Hi all How i can set the longer distance to see objects?


Re: Help - Ahammad - 11.12.2014

Download MTA and make there also object. And loger than see it.


Re: Help - dominik523 - 11.12.2014

If you are using default SAMP functions, the last parameter is draw distance:
Код:
CreateObject((modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance);
And for the streamer is:
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);



Re: Help - BlackEvils - 11.12.2014

Quote:
Originally Posted by dominik523
Посмотреть сообщение
If you are using default SAMP functions, the last parameter is draw distance:
Код:
CreateObject((modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance);
And for the streamer is:
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
there are a converter code for add the draw distance?


Re: Help - emin06 - 11.12.2014

you should convert objects for add server first. already dominik523 said.


Re: Help - Raweresh - 11.12.2014

Use this converter to add draw distance.
http://convertffs.com/


Re: Help - BlackEvils - 11.12.2014

thx to all