24.12.2016, 13:15
Hi, is it possible to get data from a certain rows in MySQL? I know I can do
etc but I'm trying to add dynamic vehicles system to my gamemode and only load a player's cars once he logs in. I'm planning to allow player to have like 5 slots so I can't just select one row and load data. I want to load all the 5 cars so I could do it like this: let's say I have my cars in row 1, 6, 8, 10 and 12 then I could do it like this:
but how do I know the row ids? Do I need to create some variables called Car1, Car2, Car3, etc for each player and then load his cars one by one?
Код:
cache_get_value_name...(rowid...
Код:
cache_get_value_name(1,... cache_get_value_name(6,... cache_get_value_name(8,... cache_get_value_name(10,... cache_get_value_name(12,...