Quote:
Originally Posted by NikKOo31
Read the code I posted -.- I added
PHP Code:
if (id < 0 || id >= sizeof user_control)
return FMRES_IGNORED
It's not the better way, but will stop the index out of bounds
|
yes at first it didn't work and gave error & fails to compile.. says unknown symbol user_control..
Then I thought for some reason the amx studio wants another l in the word
"control" so now in it's spelled
"controll"
it looks like below now and compiled successfully
PHP Code:
if (id < 0 || id >= sizeof user_controll)
return FMRES_IGNORED
thx nikko hope it works.. I've attached the full .sma file for u guys to have a look at if u want