14.02.2010, 01:27
Maybe because nobody else has your colour. Every player has to match these both conditions
if(IsPlayerConnected(i) && Color[ i ] == 0x2641FEAA)
so if the player is connected and code is never read then his color is not 0x2641FEAA. Check where do you assign Color[] for each of all the players.
if(IsPlayerConnected(i) && Color[ i ] == 0x2641FEAA)
so if the player is connected and code is never read then his color is not 0x2641FEAA. Check where do you assign Color[] for each of all the players.