Create dynamic object view distance
#1

Hello everyone , i have a huge problem with object view distance .
I use streamer plugin by Incognito .
Everithing works fine , but streamer requires view distance for objects to show them notmally . Itwouldn't be hard for me to add -1, -1, -200 on each CreateDynamicObject function , if wouldn't have more than 1000 of objects in my game mode . Is there any other streamer plugin or any other way to make this ?
Reply
#2

Open up the replace function (most text editors have one) and follow these steps:
1. Select all your objects
2. Search for );
3. Replace with -1, -1, 200);

There you have it, all objects changed in less then 20 seconds!
Reply
#3

i knew that , but there are two problems :
1. 25% of objects aren't under ongamemodeinit
2. this will include vehicles pickups and such
Reply
#4

Quote:
Originally Posted by Ivan_Pantovic
View Post
i knew that , but there are two problems :
1. 25% of objects aren't under ongamemodeinit
2. this will include vehicles pickups and such
unless you go into the include and figure out how to define the draw distance, i dont know what to suggest.
Reply
#5

I tried to replace this :
pawn Code:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
With :
pawn Code:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, -1,  -1, -1, 200.0);
but it didn't work , any ideas :S ?
Reply
#6

now i converted every single object , and still not working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)