Raised This Month: $ Target: $400
 0% 

/* Help */


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-07-2013 , 23:51   /* Help */
Reply With Quote #1

How Can i Set User Model???

And make The Weapon Damage higher..??
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
wangbochiang
Member
Join Date: Aug 2006
Location: Taiwan - Taichung
Old 03-08-2013 , 00:13   Re: /* Help */
Reply With Quote #2

you may search around forums and go see other pro's code,
their code will be best example for your coding problem.
__________________
Catch me on : @twitter

Last edited by wangbochiang; 03-08-2013 at 00:13.
wangbochiang is offline
Send a message via MSN to wangbochiang Send a message via Yahoo to wangbochiang Send a message via Skype™ to wangbochiang
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-08-2013 , 00:40   Re: /* Help */
Reply With Quote #3

1. See http://forums.alliedmods.net/showthread.php?p=958925
(Basically hook FM_SetClientKeyValue)

2. Hook Ham_TraceAttack for shots and increase damage param value.
Hook Ham_TakeDamage, check for damagebit equal to DMG_FALL or DMG_GRENADE (= 1<<24) and set damage param as you want

or

Only hook Ham_TakeDamage and set damage param
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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 17:37.


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