Veh Name [+REP]
#10

Here are some tips on how to find the problem:
1. Add a debug message after each vehicle is loaded, for example:
printf("Vehs: %d | vModel: %d | vServerID: %d", TotalVeh, VehiclesInfo[TotalVeh][vModel], VehiclesInfo[TotalVeh][vServerID]);
This will tell you how many vehicles are created and if they are created as expected.
2. Looks like you're making a major mistake. vServerID is always changing, you can't keep it constant so don't store it in your database.
3. You're having this PlayerInfo[playerid][pCarKey] variable, but make sure that VehiclesInfo[ PlayerInfo[playerid][pCarKey] ] actually stores the info of that specific vehicle and not others.
Reply


Messages In This Thread
Veh Name [+REP] - by norton2 - 08.02.2015, 17:32
Re: Veh Name [+REP] - by HazardouS - 08.02.2015, 17:36
Re: Veh Name [+REP] - by norton2 - 08.02.2015, 17:38
Re: Veh Name [+REP] - by HazardouS - 08.02.2015, 17:41
Re: Veh Name [+REP] - by norton2 - 08.02.2015, 17:44
Re: Veh Name [+REP] - by HazardouS - 08.02.2015, 17:48
Re: Veh Name [+REP] - by norton2 - 08.02.2015, 18:04
Re: Veh Name [+REP] - by HazardouS - 08.02.2015, 18:06
Re: Veh Name [+REP] - by norton2 - 08.02.2015, 18:08
Re: Veh Name [+REP] - by HazardouS - 08.02.2015, 18:14

Forum Jump:


Users browsing this thread: 3 Guest(s)