mInput is a wrapper for DXInput and mSprite is a vector of sprites and player is one, i know this because I checked it, the problem is, this won't work
What is "player", the only thing I can see going wrong here is that there is a mismatch of the tests. For example, when "player == 1" then "mInput->keyDown(DIK_UP)" is false. Which obviously doesn't work. Try some printf/cout debugging like this to see what happens:
player is just an integer value that is passed to the program by a server program - I programmed it to ask the server for a player number and it returns a 1 for the first player 2 for the next etc. but thank you, I will try this!