interior bug - 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: interior bug (
/showthread.php?tid=653227)
interior bug -
ServerFiles - 29.04.2018
I created 2 differents interior (House and Business) in same position but different vw/int. But when I get inside the House, I can see all objects I created both for house and business even with different interior/virtual world but when I get inside the business, everything is fine but in house all messed up... how do i fix dis problem?
Re: interior bug -
Flashhiee - 29.04.2018
You need to set the objects for both interiors in different virtual worlds/interiors. You can do that using CreateDynamicObject(streamer's function). Read
here how to do it.
Re: interior bug -
ServerFiles - 29.04.2018
I already set it.. I don't know if I'm doing something wrong here
Example code:
Business
Код:
CreateDynamicObject(348, 2250.29004, 2106.54004, 100.22000, 78.56000, -17.46000, 143.53999,31337);
House
Код:
CreateDynamicObject(1569, 2219.378906, 2107.000000, 99.430000, 0.000000, 0.000000, -180.000000,12);
Re: interior bug -
Flashhiee - 29.04.2018
You need to fill all the parameters.
pawn Код:
CreateDynamicObject(348, 2250.29004, 2106.54004, 100.22000, 78.56000, -17.46000, 143.53999 , 12, 13, -1,300.0, 300.0);
12 - virtual world
13 - interior
You can changed those values as you want
Re: interior bug -
ServerFiles - 29.04.2018
still same problem..
edit: even if im at interior 0 and vw 0, i can still see the objects even tho i set it to int something and vw something.
Re: interior bug -
ServerFiles - 29.04.2018
anyone?
edit: fixed