Dynamic Vehicle Issues
#6

The only thing I can think, is creating vehicles outside the map if IDs don't match, but only in that case if vehicle ID from file is bigger than created vehicle ID and there is no possibility to add vehicles while loading them. For example:
pawn Код:
// vehicle loading
// your loop through %i.ini files (%i is variable 'v' in this case)
new bool:cveh = false;
new vehid = CreateVehicle(...);
while(vehid < v)
{
    if(!cveh)   DestroyVehicle(vehid);
    vehid = CreateVehicle(any model any pos); // this is going to be your 'fake' vehicle
    cveh = true;
}
if(cveh) vehid = CreateVehicle(...); // your vehicle with ID that matches filename
Reply


Messages In This Thread
Dynamic Vehicle Issues - by BornHuman - 18.07.2014, 02:59
Re: Dynamic Vehicle Issues - by GeekSiMo - 18.07.2014, 03:05
Re: Dynamic Vehicle Issues - by BornHuman - 18.07.2014, 03:09
Re: Dynamic Vehicle Issues - by BornHuman - 18.07.2014, 17:18
Re: Dynamic Vehicle Issues - by BornHuman - 20.07.2014, 18:50
Re: Dynamic Vehicle Issues - by Scottas - 20.07.2014, 20:09
Re: Dynamic Vehicle Issues - by Bob007 - 22.07.2015, 18:28
Re: Dynamic Vehicle Issues - by xVIP3Rx - 22.07.2015, 19:46
Re: Dynamic Vehicle Issues - by FrankTimber - 22.07.2015, 20:58
Re: Dynamic Vehicle Issues - by xVIP3Rx - 22.07.2015, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)