#1

i can set a distance on this ? for example like this i get an error
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, MenuVW, -1, -1, -1, 1000.0);?
Reply
#2

Quote:
Originally Posted by eblood1
Посмотреть сообщение
i can set a distance on this ? for example like this i get an error
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, MenuVW, -1, -1, -1, 1000.0);?
this is wrong:
pawn Код:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160,   0.00000, -90.00000, 359.71826, MenuVW, -1, -1, -1, 1000.0);
Replace that for this:
pawn Код:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160,   0.00000, -90.00000, 359.71826, 1000.0);
its like this: CreateDynamicObject(objectid, X, Y, Z, rX, rY, rZ, DrawDistance);
Reply
#3

Ooo i see, but i wanted to Set a world on it :/
Reply
#4

CreateDynamicObject(modelid, x, y, z, rx, ry, rz, WORLDID = -1, .streamdistance = 100.0);

so for you code it is:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, YOUR_WORLD, .streamdistance=1000.0);
Reply
#5

Quote:
Originally Posted by TheFlyer
Посмотреть сообщение
CreateDynamicObject(modelid, x, y, z, rx, ry, rz, WORLDID = -1, .streamdistance = 100.0);

so for you code it is:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, YOUR_WORLD, .streamdistance=1000.0);
soo like this?
Код:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, MenuVW, 1000.0);
Reply
#6

put .streamdistance=1000.0

like this:
Код:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, MenuVW, .streamdistance=1000.0);
Reply
#7

Quote:
Originally Posted by TheFlyer
Посмотреть сообщение
put .streamdistance=1000.0

like this:
Код:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, MenuVW, .streamdistance=1000.0);
nope doesn't work :/ the object still shows from very close
Reply
#8

increase the drawdistance then :P
try this then:
Код:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, MenuVW, .streamdistance=10000.0);
Reply
#9

Quote:
Originally Posted by TheFlyer
Посмотреть сообщение
increase the drawdistance then :P
try this then:
Код:
CreateDynamicObject(19463, 2905.73950, 1051.81165, 16.46160, 0.00000, -90.00000, 359.71826, MenuVW, .streamdistance=10000.0);
nope
Reply
#10

Do you have #include <streamer> and streamer plugin?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)