[INC] Half-Life Stocks
1 Attachment(s)
Stocks for Half-Life DM (valve)
PHP Code:
|
Re: [INC] Half-Life Stocks
Sweet. For getting health and armor as integer I'd use
Code:
healthvalue = pev(client, pev_health) |
Re: [INC] Half-Life Stocks
Nice. This will make users create more hl plugins, including me :p.
|
Re: [INC] Half-Life Stocks
Suggestions : use get_user_info and set_user_info to set/get player model.
You should find m_fLongJump offset and update it when you (un)set longjump, this offset is used for item_longjump Touch fonction. |
Re: [INC] Half-Life Stocks
oh very very nice
|
Re: [INC] Half-Life Stocks
Quote:
m_fLongJump = 98 (103 win) |
Re: [INC] Half-Life Stocks
Updated to version 1.1
Fixed some errors and changed stocks: g(s)et_user_team g(s)et_user_spectator g(s)et_user_model set_user_longjump Thanks to ConnorMcLeod and joropito for suggestions. |
Re: [INC] Half-Life Stocks
hl_set_user_deaths wont work. Let say score is 10/5, it reset then the next time he died, his score is 0/6.
Protocol version 48 Exe version 1.1.2.1 (valve) Exe build: 14:21:06 Mar 8 2010 (4554) |
Re: [INC] Half-Life Stocks
On my hl steam is everything ok. May be you use non-steam? Or may be you use custom hl.dll (xdm, bubble mod, severian mod and etc.)?
|
Re: [INC] Half-Life Stocks
im using xdm. maybe the deaths offset is different from the default one. i've been trying to find the code to collect player offset but no luck so far. maybe you can give me?
|
All times are GMT -4. The time now is 14:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.