Map , change the interior? - 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: Map , change the interior? (
/showthread.php?tid=628848)
Map , change the interior? -
gamersx - 15.02.2017
Hello, i'm having troubles with this, I have this map.
http://pastebin.com/YfxGcvvk.
So all right , its working, the problem is this, i can see the interior look.
Thanks for your help.
Re: Map , change the interior? -
Hansrutger - 16.02.2017
On all those CreateDynamicObject() functions you can see that there is something like: -1,-1,-1
First -1 means which world id it will be in.
Second -1 means which interior id it will be in.
Third -1 means which player will see it.
What you want to do is to switch the first and/or the second one. I usually set my mappings in different virtual worlds IF and only IF I know they will be used in ONE world by EVERYONE. Those are the keywords. Otherwise you will want to use interior id and then set player's interior id everytime they enter that place regardless of what virtual world they have.
Bottom line is that you should set interior id's most o fthe time. ****** "samp limits" to see what is the max interior id, it doesn't matter if multiple mappings are in same one, as long as they are not at the same position while having same interior id. Remember that "normal world" is always virtual world 0 and interior id 0.
Re: Map , change the interior? -
xProGamerz - 23.05.2017
Quote:
Originally Posted by Hansrutger
On all those CreateDynamicObject() functions you can see that there is something like: -1,-1,-1
First -1 means which world id it will be in.
Second -1 means which interior id it will be in.
Third -1 means which player will see it.
What you want to do is to switch the first and/or the second one. I usually set my mappings in different virtual worlds IF and only IF I know they will be used in ONE world by EVERYONE. Those are the keywords. Otherwise you will want to use interior id and then set player's interior id everytime they enter that place regardless of what virtual world they have.
Bottom line is that you should set interior id's most o fthe time. ****** "samp limits" to see what is the max interior id, it doesn't matter if multiple mappings are in same one, as long as they are not at the same position while having same interior id. Remember that "normal world" is always virtual world 0 and interior id 0.
|
Thanks for your Helpful answer. It help'd me alot.