AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   SetHamParamInteger values? (https://forums.alliedmods.net/showthread.php?t=213300)

SyluxLockjaw100 04-13-2013 08:06

SetHamParamInteger values?
 
I'm really noob at AMXX... The only value of this native I know is:

SetHamParamInteger(3, 2);

That will cause players to always explode to gibs on death, but I need to know what other values of this native can do. Thanks.

fysiks 04-14-2013 04:33

Re: SetHamParamInteger values?
 
Quote:

Originally Posted by SyluxLockjaw100 (Post 1931800)
I'm really noob at AMXX... The only value of this native I know is:

SetHamParamInteger(3, 2);

That will cause players to always explode to gibs on death, but I need to know what other values of this native can do. Thanks.

That is not true. That function will not always do that. It depends on which function you are using it in and what parameter you are changing and to what value.

All that can be said about that function is that it changes parameters in ham callbacks, that's it.

yokomo 04-14-2013 04:43

Re: SetHamParamInteger values?
 
Quote:

Originally Posted by SyluxLockjaw100 (Post 1931800)
I'm really noob at AMXX... The only value of this native I know is:

SetHamParamInteger(3, 2);

That will cause players to always explode to gibs on death, but I need to know what other values of this native can do. Thanks.

Yo Najwa Latif, from what i know is:
SetHamParamInteger(param, value);
so in your case is:
set for param number 3 with value=2.

In Ham_Killed forward
function(victim,attacker,shouldgib), so param no 3=shouldgib and the value is 2=always gib (Explode kaboom all the time).

0=no gib
1=gib depend on damage value
2=always gib


All times are GMT -4. The time now is 06:52.

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