Raised This Month: $12 Target: $400
 3% 

SetHamParamInteger values?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SyluxLockjaw100
Senior Member
Join Date: Jul 2010
Location: Novaya Russia
Old 04-13-2013 , 08:06   SetHamParamInteger values?
Reply With Quote #1

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.
SyluxLockjaw100 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-14-2013 , 04:33   Re: SetHamParamInteger values?
Reply With Quote #2

Quote:
Originally Posted by SyluxLockjaw100 View Post
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.
__________________
fysiks is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-14-2013 , 04:43   Re: SetHamParamInteger values?
Reply With Quote #3

Quote:
Originally Posted by SyluxLockjaw100 View Post
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
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019

Last edited by yokomo; 04-14-2013 at 04:46.
yokomo is offline
Reply


Thread Tools
Display Modes

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 18:01.


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