Advertisement
Guest User

Untitled

a guest
Jun 15th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. CheckAccount(NameAccount[])
  2. {
  3.  
  4. format(Query, sizeof(Query), "SELECT * FROM `users` WHERE `Username` = '%s'", NameAccount);
  5.  
  6. new Cache:CheckE = mysql_query(MySQLConnect3, Query), exists;
  7.  
  8. exists = !!cache_num_rows();
  9.  
  10. cache_delete(CheckE);
  11.  
  12. return exists;
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement