SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 23/08/2019, 11:11 PM   #1
reks
Little Clucker
 
Join Date: Jul 2019
Posts: 10
Reputation: 0
Default Streamer drawdistance.

Hello guys, i have a problem with my maps.I'm creating them with ''CreateDynamicObject'' and yes, i have the latest streamer plugin, but when i come ingame and when i go 10 meters away from my objects, they don't show up.I also tried with ''CreateDynamicObjectEx'', but it didn't work.
I would be really glad if someone help me.
reks is offline   Reply With Quote
Old 24/08/2019, 04:31 AM   #2
SiaReyes
Huge Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 423
Reputation: 32
Default Re: Streamer drawdistance.

Stream Distance parameter in CreateDynamicObject can be 200.0 - 300.0
Code:
Float:streamdistance = 300.0

//On top of gamemode
#define VISIBLE_ITEMS 900

// In on gamemode init
Streamer_VisibleItems(STREAMER_TYPE_OBJECT, VISIBLE_ITEMS);
__________________
Offshowtime Fuck It!

Quote:
Originally Posted by Toroi View Post
blackmail people that join your server using their ip address as hostage

or get a job and play sa-mp for fun
SiaReyes is offline   Reply With Quote
Old 24/08/2019, 11:50 AM   #3
reks
Little Clucker
 
Join Date: Jul 2019
Posts: 10
Reputation: 0
Default Re: Streamer drawdistance.

Still not working..
reks is offline   Reply With Quote
Old 24/08/2019, 12:49 PM   #4
reks
Little Clucker
 
Join Date: Jul 2019
Posts: 10
Reputation: 0
Default Re: Streamer drawdistance.

Here's a picture:https://imgur.com/a/f9GxnDT
reks is offline   Reply With Quote
Old 24/08/2019, 05:29 PM   #5
reks
Little Clucker
 
Join Date: Jul 2019
Posts: 10
Reputation: 0
Default Re: Streamer drawdistance.

I'm writing this:Streamer_SetVisibleItems(STREAMER_TYPE_OBJECT , 950, playerid);
in OnGameModeinit, but it doesn't work.
I'd be really glad if someone could help me out, because this thing really annoys me..
reks is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Streamer drawdistance bruxo00 Português/Portuguese 14 15/08/2015 08:26 PM
[Ajuda] drawdistance iStronG Português/Portuguese 7 27/06/2014 10:17 PM
What is DrawDistance? Baltazar Scripting Help 2 20/08/2013 09:00 PM
Drawdistance Mike_Peterson Scripting Help 4 25/12/2012 09:30 PM
[HELP]DrawDistance TheBluec0de Help Archive 6 09/08/2011 11:00 PM


All times are GMT. The time now is 03:53 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.