Quote:
Originally Posted by lelemaster
Man, your string isn't enought big, try upgrading it to 256 and remove some text in your format, it's something that already happened to me. Try it like this:
pawn Код:
forward ContestAnnouncer(); public ContestAnnouncer() { sum1 = random((200-10)) + 10; sum2 = random((200-5)) + 5; sumreward = random((20-10)) + 10; sumanswer = sum1 + sum2; ContestRunning = true; ContestCooldown = 60; new string[256]; format(string, sizeof(string), "A new contest has started! the first one to enter the correct answer to %i + %i wins %i score!", sum1, sum2, sumreward); SendClientMessageToAll(-1, string); return 1; }
EDIT: Stop copying me, I was faster than you
|
haha actually i wasn't copying you, I just saw what you've write when i finished my edit
But I know it looks like i copied you xD