Why this doesn't work?
#1

pawn Код:
if(PRESSED(KEY_SECONDARY_ATTACK))
    {
        if(IsPlayerInRangeOfPoint(playerid,0.5,298.0384, -107.4380, 1001.4934))
        {
            SetPlayerCameraPos(playerid, 297.2552, -105.8125, 1003.5679);
            SetPlayerCameraLookAt(playerid, 297.6054, -106.7477, 1002.9686);
            TogglePlayerControllable(playerid,0);
            if(PRESSED(KEY_YES) && InsideAmmu[playerid] ==1 )
            {
                GivePlayerWeapon(playerid,31,500);
                SetCameraBehindPlayer(playerid);
                TogglePlayerControllable(playerid,1);
            }
            return 1;
        }
Everything works fine except this
pawn Код:
if(PRESSED(KEY_YES) && InsideAmmu[playerid] ==1 )
            {
                GivePlayerWeapon(playerid,31,500);
                SetCameraBehindPlayer(playerid);
                TogglePlayerControllable(playerid,1);
            }
Reply


Messages In This Thread
Why this doesn't work? - by newbienoob - 17.09.2012, 03:02
Re: Why this doesn't work? - by Jack_Leslie - 17.09.2012, 05:00
Re: Why this doesn't work? - by newbienoob - 17.09.2012, 05:14
Re: Why this doesn't work? - by Jack_Leslie - 17.09.2012, 05:23
Re: Why this doesn't work? - by newbienoob - 17.09.2012, 05:38
Re: Why this doesn't work? - by C00K13M0N$73R - 17.09.2012, 05:58
Re: Why this doesn't work? - by clarencecuzz - 17.09.2012, 06:51
Re: Why this doesn't work? - by newbienoob - 17.09.2012, 09:40

Forum Jump:


Users browsing this thread: 1 Guest(s)