18.03.2013, 11:41
My bad, that's probably because OnPlayerUpdate us called more often than OnPlayerPickupPickup.
Try making a function that resets the variable to 0 each 5 seconds or so, under OnPlayerPickupPickup make sure the variable is set to 1 again.
Try making a function that resets the variable to 0 each 5 seconds or so, under OnPlayerPickupPickup make sure the variable is set to 1 again.