Questions.
#6

Quote:
Originally Posted by TLN
Посмотреть сообщение
I don't have skin id 74 in my script.

So should I use different virtual worlds when I enter a store?
Tested now, didn't work.
For #1, When your giving each shop a different virtual world, just detect the x,y,z positions where you want them to /exit and detect there virtual worlds.

For Example:

Код:
CMD:exit(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, x, y, z) && GetPlayerVirtualWorld(playerid) == 1) // This is store 1
    {
        SetPlayerPos(playerid,x,y,z); // The X Y Z, where you want them to end up after they /exit for store 1.
    }

    if(IsPlayerInRangeOfPoint(playerid, 7.0, x, y, z) && GetPlayerVirtualWorld(playerid) == 2) // This is store 2
    {
        SetPlayerPos(playerid,x,y,z); // The X Y Z, where you want them to end up after they /exit for store 2.
    }
	return 1;
}
Reply


Messages In This Thread
Questions. - by TLN - 01.03.2014, 23:09
Re: Questions. - by Kar - 01.03.2014, 23:13
Re: Questions. - by TLN - 01.03.2014, 23:14
Re: Questions. - by Vince - 01.03.2014, 23:48
Re: Questions. - by TLN - 01.03.2014, 23:49
Re: Questions. - by xser - 02.03.2014, 01:49
Re: Questions. - by TLN - 02.03.2014, 01:54
Re: Questions. - by xser - 02.03.2014, 01:58
Re: Questions. - by TLN - 02.03.2014, 01:59
Re: Questions. - by xser - 02.03.2014, 02:11

Forum Jump:


Users browsing this thread: 2 Guest(s)