Need help with my Vehicle System
#3

About the first code, i think this will work:

pawn Код:
stock GetFreeVehicleSlot()
{
    for(new i = 0; i < MAX_VEHICLES; i++)
    {
        new string[1000];
        format(string, sizeof(string), "Vehicles/Vehicle_%d.ini", i);
        if(fexist(string)) continue;
        else if(!fexist(string)) return i;
    }
    return -1;
}
about the second , can you show me the stock of SaveExistingVehicle ?
Reply


Messages In This Thread
Need help with my Vehicle System - by Flashlight - 01.02.2013, 16:06
Re: Need help with my Vehicle System - by Stefand - 01.02.2013, 21:17
Re: Need help with my Vehicle System - by Kirollos - 01.02.2013, 22:23
Re: Need help with my Vehicle System - by Threshold - 01.02.2013, 22:26
Re: Need help with my Vehicle System - by Flashlight - 02.02.2013, 11:45
Re: Need help with my Vehicle System - by Flashlight - 02.02.2013, 11:54
Re: Need help with my Vehicle System - by Flashlight - 02.02.2013, 12:08
Re: Need help with my Vehicle System - by Flashlight - 02.02.2013, 13:07
Re: Need help with my Vehicle System - by Threshold - 02.02.2013, 13:58
Re: Need help with my Vehicle System - by Stefand - 02.02.2013, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)