Flux CP (Reset Look)

simplynice

New member
Messages
52
Points
0
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?
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);

 
Back
Top