AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   /* Help */ (https://forums.alliedmods.net/showthread.php?t=210210)

Natsheh 03-07-2013 23:51

/* Help */
 
How Can i Set User Model???

And make The Weapon Damage higher..??

wangbochiang 03-08-2013 00:13

Re: /* Help */
 
you may search around forums and go see other pro's code,
their code will be best example for your coding problem.

ConnorMcLeod 03-08-2013 00:40

Re: /* Help */
 
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


All times are GMT -4. The time now is 21:44.

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