13-09-2008, 02:06 AM
The simple way, would be to send a packet to the server. Specify a number, 0 or 1. (0 for when they remove it, 1 for when they add it)
Then, if the number is 0, send a packet telling the client to remove it. If it's 1, send a packet WITH the data they wish to add to it. Store that data in a variable for the player, but just make it a client only variable.
Then, in the bltplayername sub (or w/e it's called..) check that variable, if it's different than "", then blit the name + the message. So, the variable in the sub that stores the players name to blit, just do..
namevar = namevar & " " & addonvar
Or something to that effect. I don't program anymore, but that would be the way I'd do it, were I to add something like this.
Then, if the number is 0, send a packet telling the client to remove it. If it's 1, send a packet WITH the data they wish to add to it. Store that data in a variable for the player, but just make it a client only variable.
Then, in the bltplayername sub (or w/e it's called..) check that variable, if it's different than "", then blit the name + the message. So, the variable in the sub that stores the players name to blit, just do..
namevar = namevar & " " & addonvar
Or something to that effect. I don't program anymore, but that would be the way I'd do it, were I to add something like this.