Random Plate bugs help
#6

Ty this...
pawn Код:
stock GetFreeVehiclePlate()
{
    new VPlate[10];
    for(new v = 0; v < MAX_VEHICLES; v ++)
    {
        format(VPlate, sizeof(VPlate), "%c%c%c - %d", random(25)+65, random(25)+65, random(25)+65, (100 + random(900)));
        if(strcmp(Vehicles[v][Plate], VPlate, true)) return v;
    }
    return -1;
}
Reply


Messages In This Thread
Random Plate bugs help - by Stefand - 09.12.2012, 12:22
Re: Random Plate bugs help - by Vince - 09.12.2012, 13:13
Re: Random Plate bugs help - by Stefand - 09.12.2012, 13:35
Re: Random Plate bugs help - by Vince - 09.12.2012, 13:45
Re: Random Plate bugs help - by Stefand - 09.12.2012, 14:36
Re: Random Plate bugs help - by deb014 - 09.12.2012, 15:34
Re: Random Plate bugs help - by Stefand - 09.12.2012, 15:41
Re: Random Plate bugs help - by Stefand - 09.12.2012, 16:09
Re: Random Plate bugs help - by deb014 - 09.12.2012, 16:19
Re: Random Plate bugs help - by Stefand - 09.12.2012, 16:20

Forum Jump:


Users browsing this thread: 2 Guest(s)