Giftbox issue
#2

pawn Код:
public Gift(playerid)
{
    GiftPlayer(playerid, 1);
    gifttimer[playerid] = 0;
    gettinggift[playerid] = 0;
    giftsenabled = 1;//try this
    return 1;
}  

and here
...
if(IsPlayerInRangeOfPoint(playerid, 3.0, x, y, z))
            {
                gettinggift[playerid] = 1;
                giftsenabled = 0;/////////////////////
                format(string, sizeof(string), "* %s reaches inside the box with their eyes closed and grabs something.", PlayerName(playerid));
                ProxDetector(30.0, playerid, string, PURPLE, PURPLE, PURPLE, PURPLE, PURPLE);
                SetTimerEx("Gift", 1000, false, "i", playerid);
                return 1;
            }
...
Reply


Messages In This Thread
Giftbox issue - by K9IsGodly - 13.03.2014, 20:43
Re: Giftbox issue - by Matess - 13.03.2014, 20:47
Re: Giftbox issue - by K9IsGodly - 13.03.2014, 21:07
Re: Giftbox issue - by Matess - 13.03.2014, 21:11
Re: Giftbox issue - by K9IsGodly - 13.03.2014, 21:17
Re: Giftbox issue - by Matess - 13.03.2014, 21:17
Re: Giftbox issue - by K9IsGodly - 13.03.2014, 21:19
Re: Giftbox issue - by K9IsGodly - 13.03.2014, 21:25
Re: Giftbox issue - by Matess - 13.03.2014, 21:25
Re: Giftbox issue - by K9IsGodly - 13.03.2014, 21:43

Forum Jump:


Users browsing this thread: 2 Guest(s)