Invalid player 2-3
Hi i have debug a plugin and it's make invalid player 2 / 3 this is the part of script line 23
line 23 is if( cs_get_user_team( Team ) == 1 ) Code:
public DeathMsg( ) Code:
[CSTRIKE] Invalid player 2 |
Re: Invalid player 2-3
Quote:
You have to check whatever you need directly with the stored variable Team. |
Re: Invalid player 2-3
Check if the client is connected before using the function.
|
Re: Invalid player 2-3
You had Team where Victim should have gone. Since Team = cs_get_user_team( Victim ), use it.
Code:
|
Re: Invalid player 2-3
new CsTeams:Team
|
Re: Invalid player 2-3
Now i get it. it's working for the moment no logs thank you!
|
Re: Invalid player 2-3
some times have delete it wrong.
its for basebuilder mod 6.5 T can't build. need adjust when ct kill a t , some time delete for ct without die need to check if T attacker and Ct is victim = deleteblock or if CT victim and revive at T team =deleteblock |
Re: Invalid player 2-3
PHP Code:
|
All times are GMT -4. The time now is 08:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.