Raised This Month: $ Target: $400
 0% 

Invalid player 2-3


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 14:14.


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