View Single Post
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 12-13-2020 , 15:46   Re: Invalid player 2-3
Reply With Quote #4

You had Team where Victim should have gone. Since Team = cs_get_user_team( Victim ), use it.
Code:
public DeathMsg( ) {     new Victim = read_data( 2 )     new Team = cs_get_user_team( Victim )     if( !bb_is_build_phase( ) && !bb_is_prep_phase( ) && Team != 0 )     {         if( Team == 1 )             DeleteBlock( 1, Victim, Team )         else             DeleteBlock( 2, Victim, 0 )     } }
__________________

Last edited by DJEarthQuake; 12-13-2020 at 15:59. Reason: Elaborate
DJEarthQuake is offline