check team = 0 when disconnect
Hi !
i cant check it ? where is the worong ? PHP Code:
|
Re: check team = 0 when disconnect
i = 0
get_players sets players id in the array starting from 0 for(new i=0;i < num;i++) |
Re: check team = 0 when disconnect
What are you trying to do?
|
Re: check team = 0 when disconnect
Quote:
I can not determine whether any of the two teams does not contain the players? in function client_disconnect : |
Re: check team = 0 when disconnect
PHP Code:
|
Re: check team = 0 when disconnect
Quote:
|
Re: check team = 0 when disconnect
Quote:
This is not true. Code:
Code:
Team: 2 |
Re: check team = 0 when disconnect
Quote:
btw i need to check if team1 = 0 || team2 == 0 so it should be : PHP Code:
|
Re: check team = 0 when disconnect
Quote:
Ithought the team will be reseted on client disconnected Well i guess it will only be reseted on client putinserver When dose the team variable will equal to -1 ? |
Re: check team = 0 when disconnect
Natsheh, if it got reset on client_disconnect, why would one save data in that forward? We all would lose our data due to invalid player.
@Abdobis, I didn't know the purpose of your plugin so I used &&, what clarification do you want? |
| All times are GMT -4. The time now is 21:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.