Raised This Month: $ Target: $400
 0% 

help with xp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 04-18-2005 , 13:45  
Reply With Quote #2

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.
XunTric is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode