Raised This Month: $ Target: $400
 0% 

asdasdasdas


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 12-03-2014 , 15:44   asdasdasdas
Reply With Quote #1

asddasda

Last edited by Kellan123; 01-06-2017 at 03:28.
Kellan123 is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 12-03-2014 , 16:08   Re: FrostNade FriendlyFire not working
Reply With Quote #2

Let me show you what your code does by removing the id_team variable:

PHP Code:
new team = (_:cs_get_user_team(victim) == entity_get_edict(entEV_ENT_owner)); 
You are comparing the value of two completely different things, there is no way this does what you want it to. Replace the entity_get_edict call with another cs_get_user_team call.
__________________
In Flames we trust!

Last edited by Nextra; 12-03-2014 at 16:10.
Nextra 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 15:31.


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