View Single Post
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 01-03-2017 , 15:04   Re: Assign to an entity a team.
Reply With Quote #12

Quote:
Originally Posted by Craxor View Post
It has no effect.

In death msg:
PHP Code:
    new cTeam peviV pev_team );
    
set_peviEnt pev_team cTeam ); 
In touch_forward:
PHP Code:
        if( equalszClassnamegHealthEntity) && pevidpev_team ) == peviEntpev_team ) ) 
What is iV? iVictim??? wtf... so:
PHP Code:
set_pev(entpev_teamget_user_team(victim)); 
And:
PHP Code:
if (equal(classnameHealthEntityClassname) && get_user_team(player) == pev(entpev_team)) 
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@