[Pomoc] Save Tuning Sistem


Započeo Dzole64, Jul 07, 2014, 15:02:58 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Sta izlazi ? Za AddVehicleComponent nista ne diraj a RemoveVehicleComponent mozes cak i slobodno da ga obrises.

Isprobao sam i ostaje kada se izadje iz vozila, samo kada se /v park nestane..

Pa moras napraviti da ti se tuning sacuva kada vozilo parkujes.


Citat: â–... â–† â–ˆ Rudimental â–ˆ â–† â–... poslato Jul 07, 2014, 17:33:53 POSLE PODNE
Pa moras napraviti da ti se tuning sacuva kada vozilo parkujes.
Posto nisam neki skripter mozes da mi napravis ? posalji u pm ili ovde :)

Ja cu ti samo dati neku osnovu kako to treba da ispadne a ti posle moras sam sve to srediti...
Kod cInfo pravis
cComponent0

Ovih componenti imas od 0-13 a kako je napravljeno u cInfo kao primer cColorOne tako moras i ove componente po tim da radis...

A sto se tice komande u nju stavis
new slot[14];
slot[0] = GetVehicleComponentInSlot(carid, 0);
slot[1] = GetVehicleComponentInSlot(carid, 1);
slot[2] = GetVehicleComponentInSlot(carid, 2);
slot[3] = GetVehicleComponentInSlot(carid, 3);
slot[4] = GetVehicleComponentInSlot(carid, 4);
slot[5] = GetVehicleComponentInSlot(carid, 5);
slot[6] = GetVehicleComponentInSlot(carid, 6);
slot[7] = GetVehicleComponentInSlot(carid, 7);
slot[8] = GetVehicleComponentInSlot(carid, 8);
slot[9] = GetVehicleComponentInSlot(carid, 9);
slot[10] = GetVehicleComponentInSlot(carid, 10);
slot[11] = GetVehicleComponentInSlot(carid, 11);
slot[12] = GetVehicleComponentInSlot(carid, 12);
slot[13] = GetVehicleComponentInSlot(carid, 13);
CarInfo[carid][cComponent0] = slot[0];
CarInfo[carid][cComponent1] = slot[1];
CarInfo[carid][cComponent2] = slot[2];
CarInfo[carid][cComponent3] = slot[3];
CarInfo[carid][cComponent4] = slot[4];
CarInfo[carid][cComponent5] = slot[5];
CarInfo[carid][cComponent6] = slot[6];
CarInfo[carid][cComponent7] = slot[7];
CarInfo[carid][cComponent8] = slot[8];
CarInfo[carid][cComponent9] = slot[9];
CarInfo[carid][cComponent10] = slot[10];
CarInfo[carid][cComponent11] = slot[11];
CarInfo[carid][cComponent12] = slot[12];
CarInfo[carid][cComponent13] = slot[13];

Hvala probacu da uradim to, malo ce teze biti ali inace puno hvala :D