17-04-2009, 11:25 PM
n = find player's index
player(n) - n is that player's index. So you don't have to do anything because in receiving the packet
we already looked for the player's index that we asked for (n = findplayer(parse).
Also in the SetPlayerFunction, it's obviously setting the players rep in that function correct?
Then when it sets it inside that function, player(n).rep = player(n).rep + i
That's the current reputation plus the given reputation. Get it?
player(n) - n is that player's index. So you don't have to do anything because in receiving the packet
we already looked for the player's index that we asked for (n = findplayer(parse).
Also in the SetPlayerFunction, it's obviously setting the players rep in that function correct?
Then when it sets it inside that function, player(n).rep = player(n).rep + i
That's the current reputation plus the given reputation. Get it?
