Data loading wrong
#7

Quote:
Originally Posted by JesterlJoker
Посмотреть сообщение
REMOVE MAX_PVEHICLE as your limit coz it will read that...

or just remove the LIMIT part towards the MAX_PVEHICLE don't set any maximum

if you are loading player cars

Yiu should het it from the id.

PHP код:
LoadVehicleStats() 

    
mysql_tquery(Database"SELECT * FROM Vehicles" "OnVehiclesAvailable"); 
    return 
1

That's all you need to do.

then remove that for loop
Still same issue

I have 10 vehicles:

1. SPAWN Vehicle(loaded as vehicle 2)
2. SPAWN Vehicle(loaded as vehicle 3)
3. SPAWN Vehicle(loaded as vehicle 4)
4. SPAWN Vehicle(loaded as vehicle 5)
5. For sale vehicle(loaded as vehicle 6)
6. DMV Vehicle(loaded as vehicle 7)
7. DMV Vehicle(loaded as vehicle
8. DMV Vehicle(loaded as vehicle 9)
9. DMV Vehicle (anything from here on is not loading anymore)
10. For sale vehicle
Reply


Messages In This Thread
Data loading wrong - by AndreiWow - 05.02.2017, 16:22
Re: Data loading wrong - by Sabur - 05.02.2017, 18:25
Re: Data loading wrong - by AndreiWow - 05.02.2017, 18:34
Re: Data loading wrong - by JesterlJoker - 05.02.2017, 23:08
Re: Data loading wrong - by AndreiWow - 06.02.2017, 02:30
Re: Data loading wrong - by JesterlJoker - 06.02.2017, 04:58
Re: Data loading wrong - by AndreiWow - 06.02.2017, 05:02
Re: Data loading wrong - by JesterlJoker - 06.02.2017, 05:08
Re: Data loading wrong - by AndreiWow - 06.02.2017, 10:51
Re: Data loading wrong - by Dayrion - 06.02.2017, 14:45

Forum Jump:


Users browsing this thread: 1 Guest(s)