How To..
#7

Quote:
Originally Posted by RedRex
Посмотреть сообщение
Hey if he changing the world for every shop In San Andreas there are +1000 Shop how he will did for every same interior another world?!
As far as I know, a possible way could be to set the virtual world to whatever Interior you're in. If you're not okay that you can see players from world 0 or any other world that's in use somewhere else, you can add a little value and plus it with the interior value.

PHP код:
SetPlayerInterior(playerid15);
SetPlayerPos(...);
SetPlayerVirtualWorld(playerid15+9571); //Here is 9571 or whatever number you'd like, the magic number that avoids conflicts with other virtual worlds. Just an example. A define would do better, just be creative. 
Other than that you easily detect who's in which worlds and set them into the same "random" world when entering a shop. Many solutions.
Reply


Messages In This Thread
How To.. - by Man43 - 12.08.2017, 22:18
Re: How To.. - by coool - 13.08.2017, 06:57
Re: How To.. - by KizZweLL - 13.08.2017, 07:09
Re: How To.. - by Man43 - 13.08.2017, 13:13
Re: How To.. - by pabloalber84ban - 13.08.2017, 18:58
Re: How To.. - by RedRex - 13.08.2017, 19:41
Re: How To.. - by denNorske - 13.08.2017, 19:58
Re: How To.. - by Man43 - 14.08.2017, 17:09
Re: How To.. - by denNorske - 14.08.2017, 18:12
Re: How To.. - by Man43 - 16.08.2017, 20:07

Forum Jump:


Users browsing this thread: 5 Guest(s)