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

Variable Friendly Fire


Post New Thread Reply   
 
Thread Tools Display Modes
bibu
Veteran Member
Join Date: Sep 2010
Old 01-16-2012 , 13:54   Re: Variable Friendly Fire
Reply With Quote #101

Quote:
Originally Posted by Doc-Holiday View Post
done and thanks.
You forgot to add cstrike.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-16-2012 , 15:53  
Reply With Quote #102

Fail..... See what happens when im preoccupied
Doc-Holiday is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 01-16-2012 , 16:36   Re: Variable Friendly Fire
Reply With Quote #103

More efficient would be to cache the cvars on new round!
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-16-2012 , 19:45   Re: Variable Friendly Fire
Reply With Quote #104

Quote:
Originally Posted by bibu View Post
More efficient would be to cache the cvars on new round!
values can change at anytime. not just on new rounds.


Also updated my sma for the include

Last edited by Doc-Holiday; 01-16-2012 at 19:48.
Doc-Holiday is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 01-21-2012 , 14:13   Re: Variable Friendly Fire
Reply With Quote #105

PHP Code:
client_print(0print_chat"%L"LANG_PLAYER"MIRROR_DAMAGE_WARNING"); 
->

PHP Code:
client_print(iAttackerprint_chat"%L"LANG_PLAYER"MIRROR_DAMAGE_WARNING"); 
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-21-2012 , 14:29  
Reply With Quote #106

Lol oops
Doc-Holiday is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-21-2012 , 15:45   Re: Variable Friendly Fire
Reply With Quote #107

Quote:
Originally Posted by bibu View Post
This seems to work fine:

PHP Code:
    if((iDmgBits & (1<<6)) && get_pdata_int(iInflictor964) & (1<<8))
    {
        return 
HAM_IGNORED
    

Just check DMG_GRENADE (1<<24) instead.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-21-2012 , 15:58  
Reply With Quote #108

That inclues normal hes also doesnt it
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 04-10-2012 , 00:21   Re: Variable Friendly Fire
Reply With Quote #109

UPDATE:
Used Connors method of ignoring bombs
Changed support for cz bot to use the rage module. You also need the addon from below

http://forums.alliedmods.net/showpos...7&postcount=41
Doc-Holiday is offline
killabotcz
Member
Join Date: Dec 2014
Old 12-25-2014 , 14:37   Re: Variable Friendly Fire
Reply With Quote #110

So, I just installed this but for some reason it restarts the server when someone dies by TK-ing, any thoughts?
killabotcz 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 08:59.


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