Mysql query help
#1

Hello, i want to send a message to SendClientMessageToAll which displays total amount of money all players own.

Mysql SUM() function?

Table : players
row: cash
Reply
#2

SELECT SUM(cash) FROM players

cache_get_value_index_int(0,0,var_sum); // < R40
cache_get_value_index_int(0, 0,var_sum)// > R40
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)