progress bar
#5

Are you doing this in OnPlayerKeyStateChange? I think you should do it like this:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (newkeys & KEY_FIRE)
    {
        Clicks[playerid] += 1;
    }
    return 1;
}
At least that's how I would do it.
Reply


Messages In This Thread
progress bar - by iBots - 13.05.2014, 19:13
Re: progress bar - by iZN - 13.05.2014, 19:15
Re: progress bar - by iBots - 13.05.2014, 19:22
Re: progress bar - by iBots - 13.05.2014, 19:47
Re: progress bar - by Madd92 - 13.05.2014, 20:04
Re: progress bar - by iBots - 14.05.2014, 10:25

Forum Jump:


Users browsing this thread: 2 Guest(s)