06.06.2020, 15:51
Thanks.
Now I want to fetch players's vehicle from 'vehicles' table.
In 'public PrintVehicleStats' I did this:
And it doesn't show nothing. I assume the problem is in for(new i = 0; i < cache_num_rows(); i++)
What's wrong and how could I fix it guys ?
Now I want to fetch players's vehicle from 'vehicles' table.
In 'public PrintVehicleStats' I did this:
Code:
for(new i = 0; i < cache_num_rows(); i++)
{
foreach(new i2 : VehicleIterator)
{
if(VehicleInfo[i2][vID] == cache_get_value_name_int(i, "ID",idvar))
{
vehicleid = i2;
}
}
What's wrong and how could I fix it guys ?

