Quote:
Originally Posted by messi
thank you for the plugin, but
there is an error : and the menu doesn't show
i type "amxx plugins" and it show that the plugin 's still running
i enable debug mode and it shows me
Invalid CVAR pointer
[AMXX] Displaying debug trace (plugin "VIP_Menu.amxx")
[AMXX] Run time error 10: native error (native "get_pcvar_num")
[AMXX] [0] 102282.attach::fwdPlayerSpawn (line 49)
please fix it ^^
|
weird i am unable to recreate this issue. i did however find another runtime that was fixed.
View updated code let me know if it continues. that is saying that
Code:
if(get_pcvar_num(g_iSwitch) && is_user_alive(id))
Is incorrect or not valid (the g_iSwitch cvar pointer)
but it is correct and checked in multiple places with only that one error.
Did you modify the code at all?