[HELP]Cars shadow.
#10

Ok i found the problem.
pawn Код:
if (strcmp(cmdtext, "/race", true) == 0)
    {
        new Float:garx, Float:gary, Float:garz;
        if(city == 1)
        {
            garx = StadiumPosition_LS[0][0];
            gary = StadiumPosition_LS[0][1];
            garz = StadiumPosition_LS[0][2];
        }
        if (PlayerToPoint(5, playerid, garx, gary, garz))
        {
            SetPlayerInterior(playerid, 7);
            SetPlayerVirtualWorld(playerid, 0);
            SetPlayerPos(playerid, -1403.7610,-227.0062,1043.2185); // This line
            format(string, sizeof(string), "%s has entered the race stadium (/race)!", PlayerName[playerid]);
            SendClientMessageToAll(COLOR_YELLOW, string);
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "Welcome to the race stadium, press /exitstadium to exit.");
            PlayerInStadium[playerid] = 1;
        }
        else
        {
            if(city == 1){SendClientMessage(playerid, COLOR_RED, "There is no stadium here, go to the Los Santos stadium in east Los Santos.");}
        }
        return 1;
    }
That line teleports you to airport SF instead of stadium LS. How to solve ? (Sorry for 2 post)
Reply


Messages In This Thread
[HELP]Cars shadow. - by [Aka]Dragonu - 22.12.2010, 07:30
Re: [HELP]Cars shadow. - by eDz0r - 22.12.2010, 07:59
Re: [HELP]Cars shadow. - by [Aka]Dragonu - 22.12.2010, 08:02
Re: [HELP]Cars shadow. - by thimo - 22.12.2010, 08:49
Re: [HELP]Cars shadow. - by DRIFT_HUNTER - 22.12.2010, 09:04
Re: [HELP]Cars shadow. - by [Aka]Dragonu - 22.12.2010, 09:05
Re: [HELP]Cars shadow. - by [Aka]Dragonu - 03.03.2011, 07:02
Re: [HELP]Cars shadow. - by smeti - 03.03.2011, 07:25
Re: [HELP]Cars shadow. - by [Aka]Dragonu - 03.03.2011, 08:09
Re: [HELP]Cars shadow. - by [Aka]Dragonu - 03.03.2011, 08:42

Forum Jump:


Users browsing this thread: 3 Guest(s)