Advertisement
Lake_iCP

fuck off again

Mar 14th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. function handleJoinTable ($data, $str, $clientid) {
  2. global $tables;
  3. $client = $this->clients[$clientid];
  4. $table = $tables->getTable($data[4]);
  5. if(!isset($table)) {
  6. return;
  7. }
  8.  
  9. $seatID = $tables->joinTable($data[4], $client)-1;
  10. $client->write(makeXt("jt", $client->intRoomID, $data[4], $seatID));
  11. $client->multiplayer["seatID"] = $seatID;
  12. $client->multiplayer["tableID"] = $data[4];
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement