Thread: [FilterScript] Simple Goverment Payout
View Single Post
Old 28/11/2014, 11:24 AM   #10
Schneider's Avatar
Join Date: Jun 2007
Location: Netherlands
Posts: 515
Reputation: 136
Default Re: Simple Goverment Payout

Why don't you just use the random-function to generate a random payout-amount instead of an array?

pawn Code:
#define MinPayout 200
#define MaxPayout 2500

GivePlayerMoney(i, MinPayout+random(MaxPayout-MinPayout));
Schneider is offline   Reply With Quote