Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function handleJoinTable ($data, $str, $clientid) {
- global $tables;
- $client = $this->clients[$clientid];
- $table = $tables->getTable($data[4]);
- if(!isset($table)) {
- return;
- }
- $seatID = $tables->joinTable($data[4], $client)-1;
- $client->write(makeXt("jt", $client->intRoomID, $data[4], $seatID));
- $client->multiplayer["seatID"] = $seatID;
- $client->multiplayer["tableID"] = $data[4];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement