12.08.2016, 13:02
Remove any code you have defined "OValoare" and at the top of OnPlayerPickUpPickup callback:
this will generate a random number between 0-4999999 and will add 1 on the result to make it 1-5000000.
pawn Код:
new OValoare = random(5000000) + 1;