Why it isn't working?!?!?!
#1

I have set up my admin house and some objects around it. There is the script:

pawn Код:
CreateObject(3483, -2338.1276855469, -1622.5887451172, 489.96249389648, 0.999755859375, 0, 0); // the house
CreateObject(971, -2339.6259765625, -1639.7559814453, 486.27304077148, 0, 0, 0); // gate1
CreateObject(971, -2330.6284179688, -1639.7492675781, 486.27304077148, 0, 0, 0); // gate2
CreateObject(14510, -2340.3935546875, -1620.63671875, 486.93395996094, 0, 0, 0); // random interiror
These are my objects. Now, I set up a /enter cmd:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/enter", true) == 0)
    {
        if(PlayerInfo[playerid][AdminLevel] < 3)
        {
            if(IsPlayerInRangeOfPoint(playerid, 2.0, -2324.1108,-1625.5382,483.7064))
            {
                SetPlayerPos(playerid, -2340.3935546875, -1620.63671875, 486.93395996094);
                SetPlayerVirtualWorld(playerid, 999);
            }
        }
        return 1;
}
When I go near the house and I type /enter I don't get inside the house :@ WTF?

some pics:




lol...
Reply


Messages In This Thread
Why it isn't working?!?!?! - by Rivera - 17.03.2011, 19:09
Re: Why it isn't working?!?!?! - by Medal Of Honor team - 17.03.2011, 19:55
Re: Why it isn't working?!?!?! - by ricardo178 - 17.03.2011, 19:58
Re: Why it isn't working?!?!?! - by Kwarde - 17.03.2011, 20:00
Re: Why it isn't working?!?!?! - by ricardo178 - 17.03.2011, 20:06
Re: Why it isn't working?!?!?! - by Kwarde - 17.03.2011, 21:03
Re: Why it isn't working?!?!?! - by Rivera - 18.03.2011, 13:41
Re: Why it isn't working?!?!?! - by Kwarde - 18.03.2011, 14:51
Re: Why it isn't working?!?!?! - by Rivera - 18.03.2011, 15:45
Re: Why it isn't working?!?!?! - by Kwarde - 18.03.2011, 17:20

Forum Jump:


Users browsing this thread: 2 Guest(s)