09.09.2009, 09:20
See this
I hope it will help you.
-Abhinav
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
if(takim[playerid]==1){
if(currClass[playerid]==0 || currClass[playerid]==1 || currClass[playerid]==2) teamPlayers[0]--;
if(currClass[playerid]==3 || currClass[playerid]==4 || currClass[playerid]==5) teamPlayers[1]--;
}
return 1;
}
-Abhinav