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

Solved New teams


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 05-24-2018 , 07:52   New teams
Reply With Quote #1

I'm having trouble fixing this code, I want that friendlyfire to be forbidden. Right now, if I'm CT, I can only kill T players (default gameplay), but I don't want the CT&T teams to matter, only g_iPlayerTeam variable.
So basically, if I'm CT and someone from T is in team with me, I can't kill him, but I can kill the rest of the CT players that aren't in my team.

I haven't scripted for a long time so I might be missing something, thanks to whoever helps.
__________________

Last edited by edon1337; 06-25-2018 at 14:23. Reason: solved
edon1337 is offline
 



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 11:31.


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