Player Tp With Vehicle Not Work
#3

pawn Код:
if(strcmp(cmd, "/vgenter", true) == 0)
    {
           if(PlayerInfo[playerid][pDonateRank] >= 1)
           {
             if(!IsPlayerInAnyVehicle(playerid))
             {
              if(IsPlayerInRangeOfPoint(playerid,8.0, 1824.1476,-1537.8507,13.5469)) // VIP GARAGE ENTER
             {
                SetPlayerVirtualWorld(playerid, 110);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1637.3329,-1375.9287,956.5716);
                SendClientMessage(playerid, 0x80008000, "Welcome to the VIP Garage !");
                SendClientMessage(playerid, COLOR_YELLOW, "Type /vgexit to go Outside");
                GameTextForPlayer(playerid, "~w~VIP Garage", 5000, 1);
            }
            else
            {
             SetVehiclePos(GetPlayerVehicleID(playerid),1637.3329,-1375.9287,956.5716);//The same position of SetPlayerPos
            }
            }
            }
            return 1;
    }
Reply


Messages In This Thread
Player Tp With Vehicle Not Work - by Venice - 16.05.2011, 15:19
Re: Player Tp With Vehicle Not Work - by NRJ53 - 16.05.2011, 15:25
Respuesta: Player Tp With Vehicle Not Work - by K9- - 16.05.2011, 15:39
Re: Player Tp With Vehicle Not Work - by Venice - 16.05.2011, 15:50
Re: Player Tp With Vehicle Not Work - by NRJ53 - 16.05.2011, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)