nbdyson

Untitled

Feb 17th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.47 KB | None | 0 0
  1. mysql_pquery(conhand, "SELECT COUNT(*) FROM `users`", "OnAccountsCount", "i", playerid);
  2.  
  3. public OnAccountsCount(playerid)
  4. {
  5.     new rows, fields;
  6.  
  7.     cache_get_data(rows, fields);
  8.  
  9.     format(str, sizeof(str), "%s", AddCommas(rows));
  10.  
  11.     format(strang, sizeof(strang), "{%06x}%s(%d) "C_SUCCESS"has registered. We now have %s registered players.",
  12.      GetPlayerColor(playerid) >>> 8, DATA[playerid][Name], playerid, str);
  13.  
  14.         SendClientMessageToAll(-1, strang);
  15.  
  16.         return 1;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment