Quote:
Originally Posted by greentarch
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);
|
Quote:
Originally Posted by iFarbod
pawn Code:
#define rand(%1, %2) random(%2 - %1) + %1
|
Then What's Next ? Any Variable connected to the Define ?
Explain pls