I was fiddling with the code, and I removed some pcvars, and the menu showed worked again, but it gave me a ridiculous number for a price about ($218812) to buy a spider lol. Could the problem be that you have a pcvar named spiderprice, and a private var with the same name in creature menu?
PHP Code:
new spiderprice
public plugin_init()
{
spiderprice = register_cvar("cm_spiderprice", "2000")
}
public showCreatureMenu(id)
{
new spiderprice = get_pcvar_num(spiderprice)
nLen += format(szMenuBody[nLen], 255-nLen, "^n\w1. Spider -- USD $%d", spiderprice)
}
__________________