Raised This Month: $ Target: $400
 0% 

Solved Ham_Blocked


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-15-2017 , 09:40   Ham_Blocked
Reply With Quote #1

Hi,

1. There was only one thread when I searched for Ham_Blocked and it contained nothing useful. What's the actual purpose of this function? Does it get called if player is blocking an entity from moving (Helicopter) ?

2. In Zombie Escape , is the helicopter's classname func_train ?

3. How to get the highest value between some values? ( 1 , 3 , 5 , 10 , 1000 ) and the lowest?
__________________

Last edited by edon1337; 03-01-2017 at 08:41.
edon1337 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-15-2017 , 15:37   Re: Ham_Blocked
Reply With Quote #2

2. Depends on the map, not on the mod. I'm pretty sure it's func_train. You can use any kind of entity checker and see for yourself.

3. min & max functions.
__________________

Last edited by OciXCrom; 02-15-2017 at 15:37.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-15-2017 , 16:03   Re: Ham_Blocked
Reply With Quote #3

3. clamp(variable, min, max)
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-15-2017 , 16:03   Re: Ham_Blocked
Reply With Quote #4

2. Ah, thanks.
3. Never knew they existed, thanks.
__________________
edon1337 is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 02-18-2017 , 10:48   Re: Ham_Blocked
Reply With Quote #5

1. Whenever you don't know stuff like this, search the include files.
Quote:
Originally Posted by ham_const.inc
/**
* Description: Normally called whenever one entity blocks another from moving.
* Forward params: function(this, idother);
* Return type: None.
* Execute params: ExecuteHam(Ham_Blocked, this, idother);
*/
Ham_Blocked,
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-18-2017 , 11:13   Re: Ham_Blocked
Reply With Quote #6

Quote:
Originally Posted by georgik57 View Post
1. Whenever you don't know stuff like this, search the include files.
I already have.
__________________
edon1337 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 20:43.


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