Originally Posted by The overrated maniac
What can be that error?
I didnt know the native "crxranks_user_level_updated" from crxranks, I guess thats why is inefficient, calling the native is better to check it.
if(crxranks_get_user_level(i) >= 40 && is_user_connected(i))
This will throw an error probably, user is not connected.
You need to check first if user is connected then check his level that is the correct way ✅
Try doing debugs and see what is not working...
You need to #include amxmodx you should know that by default.