[POMOC] Nece da sacuva tuning


Započeo Jakisic, Jul 05, 2014, 23:13:05 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristite:editujem be
Problem: Kad tuniram auto na njemu je tuning ali kad /v park tuning je i dalje tu ali kad sednem u auto tuning nestan ostane samo boja,a nitro,spojleri i ostalo ne ostaje..
deo skripte: recite sta vam je potrebno
Slike://

Jel koristis mozda Filterscriptu ili je u modu sistem za save tuning-a ?

Citat: â–... â–† â–ˆ Rudimental â–ˆ â–† â–... poslato Jul 05, 2014, 23:21:50 POSLE PODNE
Jel koristis mozda Filterscriptu ili je u modu sistem za save tuning-a ?
ne koristim fs... a trebalo bi da ima ovo je edit BExtaxy v3.0.0.1 valjda nzm tacno

Pa jel postoji baza koja sacuvava tuning ?

ne znam ali u scriptfiles ima jedan folder vehicles  al ja to vervoatno nema veze s time evo sta ima u tom folderu http://www.zaslike.com/viewer.php?file=crwvgb6x04vr1ogtropz.png

Pa vidi dali imas u modu ove funkcije
http://wiki.sa-mp.com/wiki/GetVehicleComponentInSlot
http://wiki.sa-mp.com/wiki/Function:AddVehicleComponent

Ako nemas onda znaci da ni nemas tuning save system, i moras ga sam napraviti :D


E da video sam tvoj jedan post za isti problem i ja imam JunkBuster i isto mi se desava kad udjem u tuniran auto tuning nestane...da nije mozda do toga ?

Evo sta sam ja nasao u skripti
else if(strcmp(x_nr,"park",true) == 0)
	        {
	            new Float:x,Float:y,Float:z;
				new Float:a;
				new carid;
				new getcarid;
				if(GetPlayerVehicleID(playerid) == PI[playerid][pPcarkey]) { carid = PI[playerid][pPcarkey]; }
				else if(GetPlayerVehicleID(playerid) == PI[playerid][pPcarkey2]) { carid = PI[playerid][pPcarkey2]; }
				else if(GetPlayerVehicleID(playerid) == PI[playerid][pPcarkey3]) { carid = PI[playerid][pPcarkey3]; }
				else if(GetPlayerVehicleID(playerid) == PI[playerid][pPcarkey4]) { carid = PI[playerid][pPcarkey4]; }
				else { return 1; }
				getcarid = GetPlayerVehicleID(playerid);
				GetPlayerName(playerid, playername, sizeof(playername));
				GetVehiclePos(carid, x, y, z);
				//GetPlayerFacingAngle(playerid, a);

		  	GetVehicleZAngle(carid, a);
		if(IsPlayerInVehicle(playerid,carid) && CarInfo[carid][cOwned] == 1)
				{
			   		if(PI[playerid][pPcarkey] == 9999 && PI[playerid][pPcarkey2] == 9999 && PI[playerid][pPcarkey3] == 9999 & PI[playerid][pPcarkey4])
					{
						SendClientMessage(playerid, COLOR_GREY, "Ti ne posedujes kola.");
						return 1;
					}
					if(getcarid == carid)
					{
                    new Float:health;
                    GetVehicleHealth(GetPlayerVehicleID(playerid),health);
                    if(health <= 500)
                    {
                    SCM(playerid, SIVA, "   Ne mozete /v park vozilo koje je osteceno !");
                    return 1;
                    }
                    else
                    {
						CarInfo[carid][cLocationx] = x;
						CarInfo[carid][cLocationy] = y;
						CarInfo[carid][cLocationz] = z;
						CarInfo[carid][cAngle] = a;
						format(string, sizeof(string), "~n~ Parkirali ste vase vozilo na ovoj lokaciji. ~n~");
						GameTextForPlayer(playerid, "Parkirali ste vozilo na ovoj poziciji i ono ce se stvarati tu.", 10000, 3);
      OnPropUpdate();
						SacuvajIgraca(playerid);
						DestroyVehicle(carid);
						CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000);
					JBC_TogglePlayerControllable(playerid, 1);
						return 1;
					}
   					}
				}
	        }

LOCK

Molimo te da procitas pravila foruma te da onda otvoris temu po pravilima

Zasto ti je tema lockana:

molio bih te da pročitaš pravila, temu možeš bump/dp svako 24h.lock

PRAVILA:

GLAVNA PRAVILA BALKAN SAMP ZAJEDNICE - http://balkan-samp.com/forum/index.php?topic=7045.0

Razgovor u vezi PAWN Skriptanja - http://balkan-samp.com/forum/index.php?topic=11453.0