View Single Post
RaZ_HU
Senior Member
Join Date: May 2015
Location: Hungary
Old 01-19-2018 , 07:37   Re: < D.I.C.E. > Ultimate Roll the Dice < R.T.D. >
Reply With Quote #27

Quote:
Originally Posted by OciXCrom View Post
Ugh, looks like I lost it somewhere. You can make a new one if you like.
Done, yet need to test it (to be sure about meanings).

Meanwhile when I try to compile the dice_main.sma with 1.8.3 I get tag mismatch on line 663.

Code:
dice_main.sma(663 -- 665) : warning 213: tag mismatch
It is caused by get_param returns an int and tries to put it in a bool.

I have done this to fix it, yet it works with both .2 and .3 amxx:
Code:
eItem[Glow] = get_param(9)
->
Code:
    new paramHolder = get_param(9)     if(paramHolder == 1)         eItem[Glow] = true     else         eItem[Glow] = false


Pull request sent with better fix.

Last edited by RaZ_HU; 01-19-2018 at 09:04. Reason: Update
RaZ_HU is offline