05.08.2012, 19:22
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
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

