simplynice New member Messages 52 Points 0 Jul 18, 2013 #2 I have problem with the reset look. Maybe because the sql query of flux is defaulting to 0. How can i change it into 1?
I have problem with the reset look. Maybe because the sql query of flux is defaulting to 0. How can i change it into 1?
Brynner Community Contributors Messages 563 Points 0 Github https://github.com/bgamez23 Jul 18, 2013 #3 simplynice said: I have problem with the reset look. Maybe because the sql query of flux is defaulting to 0. How can i change it into 1? Click to expand... libFluxAthena.php $sql = "UPDATE {$this->charMapDatabase}.`char` SET "; $sql .= "hair = 0, hair_color = 0, clothes_color = 0, weapon = 0, shield = 0, "; $sql .= "head_top = 0, head_mid = 0, head_bottom = 0 "; $sql .= "WHERE char_id = ?"; $sth = $this->connection->getStatement($sql);
simplynice said: I have problem with the reset look. Maybe because the sql query of flux is defaulting to 0. How can i change it into 1? Click to expand... libFluxAthena.php $sql = "UPDATE {$this->charMapDatabase}.`char` SET "; $sql .= "hair = 0, hair_color = 0, clothes_color = 0, weapon = 0, shield = 0, "; $sql .= "head_top = 0, head_mid = 0, head_bottom = 0 "; $sql .= "WHERE char_id = ?"; $sth = $this->connection->getStatement($sql);