Quote:
Originally Posted by Arevos
Also, you probably want something more like:
%hit = gethit%()
FUNCTION gethit%()
RANDOMIZE TIMER
gethit% = INT(RND * 20) + 1
END FUNCTION
|
Whenever I do something like that, it gets me errors. Expecting an Expression error I believe. Im not at my home pc atm, so, I cant really fire it up and give you the exact error.
Also, did you intentionally use %hit instead of hit%? I've not seen anything stating using the % before the variable name.