28.06.2009, 04:38
That's because you make the variable hold that ONE number (random of 126). It's only returning that one number. Try something like this:
Remember to delete the RandomColor variable that you already have, aswell as the math in OnGameModeInit you already have.
pawn Код:
//top
forward RandomColor();
{
new color = random(126);
return color;
}