SetPlayerTeam(playerid, );
#3

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Not sure what the exact problem is but I know that SetPlayerTeam is bugged (and I don't know it that was fixed already but it seems like not). And the only (AFAIK) fix is to reset SetPlayerTeam.

Try to put SetPlayerTeam for everyone in a timer:
pawn Код:
SetTimer("fixTeams", 1000, true);
pawn Код:
forward fixTeams(); public fixTeams()
{
    for(new i, j = GetMaxPlayers(); i < j; ++i)
    {
        SetPlayerTeam(i, GetPlayerTeam(i));
    }
}
I could be wrong though! I didn't work with teams a lot.
Yeah it seams its not fixed, i didnt know at all that SetPlayerTeam was bugged, so i try with your timer and see if that makes it work, thanks!
Reply


Messages In This Thread
SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 14:52
Re: SetPlayerTeam(playerid, ); - by RyDeR` - 05.07.2011, 15:09
Re: SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 15:27
Re: SetPlayerTeam(playerid, ); - by Bakr - 05.07.2011, 15:52
Re: SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 15:53
Re: SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 16:58
Re: SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 17:11
Re: SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 18:35
Re: SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 19:22
Re: SetPlayerTeam(playerid, ); - by cruising - 05.07.2011, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)