TP Command Problem
#1

Hello, i have a command /loungeenter but everytime i type it, it tp'ing me to the default not in the position i want here's my current code hope you can fix this..

pawn Код:
CMD:loungeenter(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 13.0, -4398.9072, 870.9648, 986.3803))
 {
  if(PlayerInfo[playerid][pDonator] >= 0)
  {
                    SetPlayerPos(playerid, -2636.7969,1403.7454,907.6803);
                    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                    SendClientMessageEx(playerid, COLOR_YELLOW, "VIP: You have entered the the VIP Lounge!");
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid, 0);
                    PlayerInfo[playerid][pVW] = 0;
        }
    }
    return 1;
}
I mean if i type /loungeenter it doesn't tp'ing me to the position i want
Reply


Messages In This Thread
TP Command Problem - by ChuckyBabe - 22.04.2014, 03:27
Re: TP Command Problem - by Stinged - 22.04.2014, 03:33
Re: TP Command Problem - by ChuckyBabe - 22.04.2014, 03:35
Re: TP Command Problem - by Flake. - 22.04.2014, 03:55
Re: TP Command Problem - by ChuckyBabe - 22.04.2014, 05:24
Re: TP Command Problem - by Flake. - 22.04.2014, 05:46
Re: TP Command Problem - by ChuckyBabe - 22.04.2014, 06:39
Re: TP Command Problem - by itsCody - 22.04.2014, 06:50

Forum Jump:


Users browsing this thread: 1 Guest(s)