Guest User

Untitled

a guest
Dec 11th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. QueryResult *result = WorldDatabase.Query("SELECT xd FROM appearing WHERE Char_Name = '%u'", chr->GetName());
  2. uint32 enabled = result->Fetch()[0].GetUInt32();
  3. if(enabled == 1)
  4. {
  5. BlueSystemMessage(m_session, "%u is not available for appearing atm.", chr->GetName());
  6. return true;
  7. }
Add Comment
Please, Sign In to add comment