Just change c2 to c.
|
Fixed, can remove.
Or just declare the variable c2...
moveto below the for loop.Code:Client c2 = (Client)Server.playerHandler.players[i];
I thought c.sendMessage sends message to player that does that command, and c2.sendMessage sends to the target. If i'm not correct can you tell me code for it?
Do what they said above.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |