Raised This Month: $ Target: $400
 0% 

Solved [ H3LP ] Bind on head?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 04-04-2017 , 10:24   Re: [ H3LP ] Bind on head?
Reply With Quote #1

Mhmm.. Well, i got an idea..

Create an invisible entity for each player, using prethink make it stick to the player's head, then register touch to detect if any other player touched that player's head entity, and if so, make the player who touched that entity stick to it's victims head by using prethink, then set a timer and execute ham kill

Use a two dimensional boolean arrays in order to transmit the required data from touch to prethink ( g_TouchedHead[33][33], where in the first cell you will store the attacker's index and in the second one the victim's index )
__________________
Depresie 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:48.


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