enter commands wont work -.-
#1

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/enter", cmdtext, true, 10) ==0)////////////////////////////////////////
        {
            if(IsPlayerInRangeOfPoint(playerid, 5.0, 2207.5254,-1100.4119,31.5547))//--House00000---
                {
                    SetPlayerPos(playerid, 2209.3159,-1106.1302,14.9276);
                    SetPlayerFacingAngle(playerid, 68.2839);
                    SetCameraBehindPlayer(playerid);
                    SetPlayerInterior(playerid, 10);
                    return 1;
                }//--------------------------------------------------------------------------------
            if(IsPlayerInRangeOfPoint(playerid, 5.0, 1412.0670,-1699.9690,13.5395))//--Bank001---
                {
                    SetPlayerPos(playerid, 1417.3789,-989.1111,1639.7843);
                    SetPlayerFacingAngle(playerid, 269.2184);
                    SetCameraBehindPlayer(playerid);
                    SetPlayerInterior(playerid, 10);
                    return 1;
                }
        }//--------------------------------------------------------------------------------
    return 0;
}
second command wont work, when I come infront of the bank and type /enter it wont teleport me, even with
pawn Код:
else if
Reply


Messages In This Thread
enter commands wont work -.- - by HrvojeCro - 12.11.2010, 11:34
Re: enter commands wont work -.- - by TheXIII - 12.11.2010, 12:05
Re: enter commands wont work -.- - by HrvojeCro - 12.11.2010, 12:07
Re: enter commands wont work -.- - by ColdXX - 12.11.2010, 12:12
Re: enter commands wont work -.- - by HrvojeCro - 12.11.2010, 12:17
Re: enter commands wont work -.- - by ColdXX - 12.11.2010, 12:24
Re: enter commands wont work -.- - by HrvojeCro - 12.11.2010, 12:30
Re: enter commands wont work -.- - by ColdXX - 12.11.2010, 12:50
Re: enter commands wont work -.- - by M.5 - 12.11.2010, 13:09
Re: enter commands wont work -.- - by HrvojeCro - 12.11.2010, 13:14
Re: enter commands wont work -.- - by M.5 - 12.11.2010, 14:24
Re: enter commands wont work -.- - by XePloiT - 12.11.2010, 15:03
Re: enter commands wont work -.- - by Rafa - 12.11.2010, 16:25
Re: enter commands wont work -.- - by Scenario - 12.11.2010, 17:14
Re: enter commands wont work -.- - by HrvojeCro - 12.11.2010, 17:46
Re: enter commands wont work -.- - by The_Moddler - 12.11.2010, 17:58
Re: enter commands wont work -.- - by Mean - 12.11.2010, 18:01
Re: enter commands wont work -.- - by HrvojeCro - 12.11.2010, 18:12
Re: enter commands wont work -.- - by The_Moddler - 12.11.2010, 18:22
Re: enter commands wont work -.- - by HrvojeCro - 12.11.2010, 20:32
Re: enter commands wont work -.- - by Buzzbomb - 12.11.2010, 21:02
Re: enter commands wont work -.- - by The_Moddler - 12.11.2010, 21:11
Re: enter commands wont work -.- - by ColdXX - 12.11.2010, 22:31
Re: enter commands wont work -.- - by HrvojeCro - 13.11.2010, 07:53
Re: enter commands wont work -.- - by Buzzbomb - 13.11.2010, 08:08
Re: enter commands wont work -.- - by HrvojeCro - 13.11.2010, 08:27
Re: enter commands wont work -.- - by iggy1 - 13.11.2010, 08:29
Re: enter commands wont work -.- - by HrvojeCro - 13.11.2010, 08:32
Re: enter commands wont work -.- - by HrvojeCro - 18.11.2010, 18:53
Re: enter commands wont work -.- - by sansko - 18.11.2010, 20:15
Re: enter commands wont work -.- - by HrvojeCro - 22.11.2010, 08:41

Forum Jump:


Users browsing this thread: 1 Guest(s)