SetVehicleNumberPlate
#1

I've a problem with SetVehicleNumberPlate, It's not loading it into the server even more then that:

I've this under OnGameModeInIt:
Код:
	LoadStaticVehicles();
	LoadFactions();
	LoadFamilies();
	LoadPickups();
	LoadPoints();
	LoadBiz();
	LoadHouses();
	LoadDoors();
	LoadGates();
	LoadMapIcons();
	LoadArrestPoint();
	LoadDrugs();
	LoadProducts();
	LoadPlates();
	LoadMOTDS();
The problem is, it's stuck the load, when it's arrive LoadPlates it won't load it and it won't LoadMotds either.

Here's the stock:
Код:
stock LoadPlates()
{
    for(new i = 0; i < MAX_VEHICLES; i++)
    {
            if(IsCopVehicle(i)) SetVehicleNumberPlate(i, "LSPD");
        	else if(IsMedicVehicle(i)) SetVehicleNumberPlate(i, "LSEMS");
            else if(IsGuardVehicle(i)) SetVehicleNumberPlate(i, "SADOC;");
            else if(IsCIUVehicle(i)) SetVehicleNumberPlate(i, "random(899999) + 100000");
            else if(IsNewsVehicle(i)) SetVehicleNumberPlate(i, "SAN");
            else if(IsGovVehicle(i)) SetVehicleNumberPlate(i, "LSGOV");
            else if(IsSheriffVehicle(i)) SetVehicleNumberPlate(i, "SASD");
            else if(IsDMVCar(i)) SetVehicleNumberPlate(i, "SADMV");
            else if(IsRentalCar(i)) SetVehicleNumberPlate(i, "RENTAL");
			else if(IsTruckerVehicle(i)) SetVehicleNumberPlate( i, "TRUCKER");
    }
    print("Plates sucessfully loaded.");
    return 1;
}
Reply


Messages In This Thread
SetVehicleNumberPlate - by maiky1499 - 01.02.2013, 10:09
Re: SetVehicleNumberPlate - by iGetty - 01.02.2013, 10:17
Re: SetVehicleNumberPlate - by maiky1499 - 01.02.2013, 11:13
Re: SetVehicleNumberPlate - by FiReMaNStone - 01.02.2013, 11:44
Re: SetVehicleNumberPlate - by maiky1499 - 01.02.2013, 12:07
Re: SetVehicleNumberPlate - by Stu1 - 01.02.2013, 12:48
Re: SetVehicleNumberPlate - by SuperViper - 01.02.2013, 14:06
Re: SetVehicleNumberPlate - by maiky1499 - 02.02.2013, 10:15
Re: SetVehicleNumberPlate - by goviscrap - 02.02.2013, 12:40
Re: SetVehicleNumberPlate - by maiky1499 - 02.02.2013, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)