#1

how to get the Column value where username = player username
instead of getting Column value using row index
cache_get_value_name_int(ROW_INDEX, "money", int_dest);
Reply
#2

Row index isn't what you think that it is. If you need a specific player you should select that player in the WHERE-clause of the query.
Reply
#3

so what i must write in the row index? and what is it
Reply
#4

If you choose a player per select, you should theoretically only get 1 row as result, meaning the index has to be 0(first and only row)

What is the row index?

An index is the position of an item in a list. Meaning, that in this case it is the position of the row in the returned mysql result set.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)