Dini Saves "я" Symbol to .ini File
#5

OnGameModeInit
Код:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Blank Script");
 	DisableInteriorEnterExits();
	EnableStuntBonusForAll(0);
	ManualVehicleEngineAndLights();

	
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    surucukursu = CreatePickup(1239, 1, 1734.4595,-1271.1991,13.5464, -1);
    emniyet = CreatePickup(1239, 1, 1543.7047,-1675.3339,13.5570, -1);
    hastane = CreatePickup(1239, 1, 2034.4834,-1404.4559,17.2589, -1);

	AddStaticVehicle(481,1561.4028,-2334.9023,13.2160,89.0924,53,53); // bisiklet havalimanı
	AddStaticVehicle(481,1561.6641,-2338.2480,13.2161,92.2083,53,53); // bisiklet havalimanı
	AddStaticVehicle(481,1562.0806,-2331.8972,13.2188,91.0874,53,53); // bisiklet havalimanı
	AddStaticVehicle(481,1561.8319,-2328.9443,13.2185,88.3954,53,53); // bisiklet havalimanı
	AddStaticVehicle(481,1561.6813,-2325.1472,13.2184,92.0873,53,53); // bisiklet havalimanı



	format(file, 128, "/Arabalar/TC1453.ini");

    if(dini_Exists(file))
    {
	new arac1 = AddStaticVehicleEx(dini_Int(file, "model"),dini_Int(file, "aracx"),dini_Int(file, "aracy"),dini_Int(file, "aracz"),dini_Int(file, "aracr"),dini_Int(file, "renk1"),dini_Int(file, "renk2"),-1); // bisiklet havalimanı
	__SetVehicleNumberPlate(arac1, "TC1453");
	SetVehicleNumberPlate(arac1, "TC1453");
	SetVehicleHealth(arac1, dini_Int(file, "saglik"));
	UpdateVehicleDamageStatus(arac1, dini_Int(file, "hasarpanel"), dini_Int(file, "hasarkapi"), dini_Int(file, "hasarisik"), dini_Int(file, "hasarlastik"));


 	}



	format(file, 128, "/Arabalar/PD444.ini");

    if(dini_Exists(file))
    {
	new arac2 = AddStaticVehicleEx(dini_Int(file, "model"),dini_Int(file, "aracx"),dini_Int(file, "aracy"),dini_Int(file, "aracz"),dini_Int(file, "aracr"),dini_Int(file, "renk1"),dini_Int(file, "renk2"),-1); // bisiklet havalimanı
	__SetVehicleNumberPlate(arac2, "PD444");
	SetVehicleNumberPlate(arac2, "PD444");
	SetVehicleHealth(arac2, dini_Int(file, "saglik"));
	UpdateVehicleDamageStatus(arac2, dini_Int(file, "hasarpanel"), dini_Int(file, "hasarkapi"), dini_Int(file, "hasarisik"), dini_Int(file, "hasarlastik"));


	}


/////////hiz gostergesi bas////////
	TextDraws[TDSpeedClock][0] = TextDrawCreate(496.000000,400.000000,"~g~20");
 	TextDraws[TDSpeedClock][1] = TextDrawCreate(487.000000,388.000000,"~g~40");
 	TextDraws[TDSpeedClock][2] = TextDrawCreate(483.000000,375.000000,"~g~60");
 	TextDraws[TDSpeedClock][3] = TextDrawCreate(488.000000,362.000000,"~g~80");
 	TextDraws[TDSpeedClock][4] = TextDrawCreate(491.000000,349.000000,"~g~100");
 	TextDraws[TDSpeedClock][5] = TextDrawCreate(508.000000,336.500000,"~g~120");
 	TextDraws[TDSpeedClock][6] = TextDrawCreate(536.000000,332.000000,"~g~140");
 	TextDraws[TDSpeedClock][7] = TextDrawCreate(567.000000,337.000000,"~g~160");
 	TextDraws[TDSpeedClock][8] = TextDrawCreate(584.000000,348.000000,"~g~180");
 	TextDraws[TDSpeedClock][9] = TextDrawCreate(595.000000,360.000000,"~g~200");
 	TextDraws[TDSpeedClock][10] = TextDrawCreate(603.000000,374.000000,"~g~220");
 	TextDraws[TDSpeedClock][11] = TextDrawCreate(594.000000,386.000000,"~g~240");
 	TextDraws[TDSpeedClock][12] = TextDrawCreate(585.000000,399.000000,"~g~260");
 	TextDraws[TDSpeedClock][13] = TextDrawCreate(534.000000,396.000000,"~r~/ \\");
 	TextDraws[TDSpeedClock][14] = TextDrawCreate(548.000000,401.000000,".");
 	TextDrawLetterSize(TextDraws[TDSpeedClock][13], 1.059999, 2.100000);
	TextDrawLetterSize(TextDraws[TDSpeedClock][14], 0.73, -2.60);
 	for(new i; i < 15; i++)
 	{
 		TextDrawSetShadow(TextDraws[TDSpeedClock][i], 1);
 		TextDrawSetOutline(TextDraws[TDSpeedClock][i], 0);
 	}
/////////////hiz gostergesi son///////////


	return 1;
}
Reply


Messages In This Thread
Dini Saves "я" Symbol to .ini File [SOLVED] - by BuLLLDoZeR - 19.06.2013, 17:31
Re: Dini Saves "я" Symbol to .ini File - by BuLLLDoZeR - 19.06.2013, 17:39
Re: Dini Saves "я" Symbol to .ini File - by OrMisicL - 19.06.2013, 17:40
Re: Dini Saves "я" Symbol to .ini File - by BuLLLDoZeR - 19.06.2013, 17:44
Re: Dini Saves "я" Symbol to .ini File - by BuLLLDoZeR - 19.06.2013, 17:46
Re: Dini Saves "я" Symbol to .ini File - by BuLLLDoZeR - 19.06.2013, 18:01
AW: Dini Saves "я" Symbol to .ini File - by BigETI - 19.06.2013, 18:18
Re: Dini Saves "я" Symbol to .ini File - by BuLLLDoZeR - 19.06.2013, 18:32
AW: Dini Saves "я" Symbol to .ini File - by BigETI - 19.06.2013, 20:01
Re: Dini Saves "я" Symbol to .ini File - by BuLLLDoZeR - 19.06.2013, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)