Object interior
#1

Hello. My question is how to change object interior?
pawn Код:
CreateObject(2933,2219.00000000,-1151.40002441,1026.50000000,0.00000000,0.00000000,90.00000000); //object(pol_comp_gate) (1)
CreateObject(2933,2219.00000000,-1145.30004883,1026.50000000,0.00000000,0.00000000,90.00000000); //object(pol_comp_gate) (2)
Reply
#2

the object is show in all the interior
Reply
#3

No it's not. I want them to be in Interior 11, but they are in interior 0.
Reply
#4

Quote:
Originally Posted by GTAprogamer111
Посмотреть сообщение
No it's not. I want them to be in Interior 11, but they are in interior 0.
What streamer are you using?

Код:
CreateObject(2933,2219.00000000,-1151.40002441,1026.50000000,0.00000000,0.00000000,90.00000000, .interiorid = [YOURINTERIORID]);
Reply
#5

yes id does,
are you using streamer?

maby in the streamer has a option to change interior...
Reply
#6

Please, review my previous post as I have modified it.
Reply
#7

pawn Код:
#include <streamer>


CreateDynamicObject(2933,2219.00000000,-1151.40002441,1026.50000000,0.00000000,0.00000000,90.00000000,-1,6,-1,300.0); //object(pol_comp_gate) (1)
CreateDynamicObject(2933,2219.00000000,-1145.30004883,1026.50000000,0.00000000,0.00000000,90.00000000,-1,6,-1,300.0); //object(pol_comp_gate) (2)
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
You could change the 6 (Interior ID) in,-1,6,-1,300.0); into whatever you want.


Link for the Steamer: http://samp-streamer-plugin.******co...v2_6_1_r78.zip

.......
Reply
#8

Quote:
Originally Posted by kbalor
Посмотреть сообщение
pawn Код:
#include <streamer>


CreateDynamicObject(2933,2219.00000000,-1151.40002441,1026.50000000,0.00000000,0.00000000,90.00000000,1,-1,-1,300.0); //object(pol_comp_gate) (1)
CreateDynamicObject(2933,2219.00000000,-1145.30004883,1026.50000000,0.00000000,0.00000000,90.00000000,1,-1,-1,300.0); //object(pol_comp_gate) (2)
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
You don't need 'playerid = -1'

Код:
CreateObject(2933,2219.00000000,-1151.40002441,1026.50000000,0.00000000,0.00000000,90.00000000, .interiorid = 0, .worldid = 0, .streamdistance = 75);
Edit the '0's to your specification'
Reply
#9

You can use streamer.

Or else
Use SetObjectPos.
Learn more:wiki.sa-mp.com/wiki/SetObjectPos
Reply
#10

Some reasons none of those options works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)