Looks like you mixed my and PM's code..
Ill look thru it, but one thing i saw now is that you open the choose animal menu on client_putinserver. You dont need this because on ResetHUD it checks if the user has no class. This event is called when client gets in server, when they spawn and when they die...
EDIT:
Ok i think i found the problem.
On your menu, the keys starts on 1.
They should start on 0,.
You can start on 1, but then you need a MENU_KEY_0 at the end of the key numbers... (As XxAvalanchexX said in tutorial thread)
So it should look like this:
Code:
new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3
or like this:
Code:
new keys = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_0;
Havnt tested the second choise yet, I use the the first one i said (the one that starts on 0) on my plugin, and it works fine.