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