Random Score
#4

Quote:
Originally Posted by greentarch
View Post
pawn Code:
stock randomEx(min, max)
    return (random(max - min + 1) + min);
Usage:
pawn Code:
new
    randScore = randomEx(25, 50);
SetPlayerScore(playerid, GetPlayerScore(playerid) + randScore);
Where do i have to put all of these , i mean do i have to include
pawn Code:
#define RandomEx
Reply


Messages In This Thread
Random Score - by NewbieTester - 13.08.2014, 12:19
Re: Random Score - by Norrin - 13.08.2014, 12:26
Re: Random Score - by greentarch - 13.08.2014, 12:27
Re: Random Score - by NewbieTester - 13.08.2014, 12:32
Re: Random Score - by iFarbod - 13.08.2014, 12:38
Re: Random Score - by NewbieTester - 13.08.2014, 12:49

Forum Jump:


Users browsing this thread: 2 Guest(s)