Show query results on dialog
#3

You only retrieve the first row by setting the rowid to 0. Why do you store to CarInfo array which is being overwritten over and over again? Either use local variables or a player-array (with a limit of how many vehicles a player can own).

Код:
cache_get_field_content_int(i, "ID"); 
CarInfo[i][cModel] = cache_get_field_content_int(i, "Model");
Reply


Messages In This Thread
Show query results on dialog - by mailu - 10.09.2016, 03:13
Re: Show query results on dialog - by JordanZaundd - 10.09.2016, 03:25
Re: Show query results on dialog - by Konstantinos - 10.09.2016, 09:12
Re: Show query results on dialog - by jlalt - 10.09.2016, 09:17

Forum Jump:


Users browsing this thread: 2 Guest(s)