#8

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
When entering the Idlewood barber shop set the player's vw to 2 for ex.
However when entering the Market's barber shop set it to 3.

Now when you /exit, check the player's vw (GetPlayerVirualWorld) if its == 2, set the idlewood coords,
if its == 3 set the market exit coords.
This is what he means:
Код:
   if(!strcmp(cmdtext, "/exit", true))
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 286.148986,-40.644397,1001.515625))
        {
            if(GetPlayerVirtualWorld(playerid) == 2)
            {
              SetPlayerPos(playerid, 2116.3108,-1279.5417,13.5469);//AmmunationExit
            }
            else if(GetPlayerVirtualWorld(playerid) == 3)
            {
            SetPlayerPos(playerid, 4366.3108,-1279.5417,13.5469);//AmmunationExit
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid, 0)
        }
    }
    return 1;
Reply


Messages In This Thread
Help - by 123bob123 - 15.07.2014, 14:02
Re: Help - by TwinkiDaBoss - 15.07.2014, 14:04
Re: Help - by 123bob123 - 15.07.2014, 14:07
Re: Help - by LivingLikeYouDo - 15.07.2014, 14:40
Re: Help - by 123bob123 - 15.07.2014, 15:46
Re: Help - by Evocator - 15.07.2014, 15:55
Re: Help - by 123bob123 - 15.07.2014, 15:57
Re: Help - by BlackM - 15.07.2014, 16:06

Forum Jump:


Users browsing this thread: 3 Guest(s)