problem with score timer achivement help please
#3

Quote:
Originally Posted by CuervO
Посмотреть сообщение
First of all, this kind of check

X >= 1 && X < 2 is the same thing as doing == 1 (exclusively on integers, of course, because [1,2) would be positive for 1.1, 1.2, 1.(infinite), however since this is an integer and the are no decimals, just entires, [1,2) will always return positive for 1.)

Secondly, loop is not properly idented and/or braced;

And third, you should make the score checks after you set the score; or instead a variable that would make the players not receive the reward again.

If, for example, you set a player's score to +1, you have to check after that if the score is 25 or 50 and give the appropiate rewards, doing this on a timer to check if the player score is 25 or 50 will reward the players every time the timer is run, unless you add variables that forbid this from happening.
oooh wow i see thanks alot bro +rep
Reply


Messages In This Thread
problem with score timer achivement help please - by UserName31 - 01.02.2014, 13:29
Re: problem with score timer achivement help please - by CuervO - 01.02.2014, 13:38
Re: problem with score timer achivement help please - by UserName31 - 01.02.2014, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)