Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. format(query,sizeof(query),"SELECT Cash FROM Accounts WHERE Username = '%s'",pName);
  2. mysql_query(query);
  3. mysql_store_result();
  4. if(mysql_num_rows()) {
  5. if(mysql_fetch_row_format(query,"|")) // Splits the row
  6. {
  7. sscanf(query, "p<|>i",pData[playerid][pCash]);
  8. }
  9. }
  10. mysql_free_result();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement