Loading vehicle (INI_ParseFile)
#2

INI_ParseFile(VehicleFile(i), "LoadPlayerVehicle", .bExtra = true, .extra = playerid);

stock LoadPVehicles()
{
for(new i = 0; i < MAX_BUYABLE_VEH; i++)
{
INI_ParseFile(VehicleFile(i), "LoadPlayerVehicle", .bExtra = false);
}
return true;
}

You load player vehicles.. but you dont pass the id of the player.. so

change INI_ParseFile like i've do above and add "playerid" arg to stock function
Reply


Messages In This Thread
Loading vehicle (INI_ParseFile) - by Riddick94 - 05.08.2012, 18:54
Re: Loading vehicle (INI_ParseFile) - by ReVo_ - 05.08.2012, 19:22
Re: Loading vehicle (INI_ParseFile) - by Riddick94 - 05.08.2012, 19:35
Re: Loading vehicle (INI_ParseFile) - by Riddick94 - 05.08.2012, 20:16
Re: Loading vehicle (INI_ParseFile) - by Arca - 05.08.2012, 20:22
Re: Loading vehicle (INI_ParseFile) - by Riddick94 - 05.08.2012, 20:31
Re: Loading vehicle (INI_ParseFile) - by Arca - 06.08.2012, 00:02
Re: Loading vehicle (INI_ParseFile) - by Riddick94 - 06.08.2012, 08:40
Re: Loading vehicle (INI_ParseFile) - by Riddick94 - 06.08.2012, 09:52
Re: Loading vehicle (INI_ParseFile) - by Riddick94 - 06.08.2012, 14:39

Forum Jump:


Users browsing this thread: 1 Guest(s)