AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   asdasdasdas (https://forums.alliedmods.net/showthread.php?t=252482)

Kellan123 12-03-2014 15:44

asdasdasdas
 
asddasda

Nextra 12-03-2014 16:08

Re: FrostNade FriendlyFire not working
 
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.


All times are GMT -4. The time now is 15:31.

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