Jump to content
  • 0

Problema dealership.


Kingpin

Question

Problema intalnita (descriere): Salut ! Am o mica problema la dealer-ul de masini,cumpar masina,totul e ok,ii dau /v park,dar la restart nu ramane la locul unde i-am dat park,trebuie sa o aduc cu /getcar. Aveti vreo idee? 
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul: -
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Sincer,chiar nu imi dau seama !

Nu vreau sa fiu un om important,vreau sa fiu un om respectat !

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

 

           new Float:CarHP, Float:OldCarHP; new panels,doors,lights,tires;
CarInfo[carid][cLocationx] = x;
CarInfo[carid][cLocationy] = y;
CarInfo[carid][cLocationz] = z;
CarInfo[carid][cAngle] = a;
GetVehicleDamageStatus(carid,panels,doors,lights,tires);
GetVehicleHealth(carid, CarHP); OldCarHP = CarHP;
format(string, sizeof(string), "~n~ You have parked your vehicle in this location. ~n~");
GameTextForPlayer(playerid, "Masina a fost parcata cu scucces..", 10000, 3);
OnCarUpdate(); SavePlayerData(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);
LoadComponents(carid); OnCarUpdate(); SavePlayerData(playerid);
PutPlayerInVehicle(playerid,carid,0); SetVehicleHealth(carid, OldCarHP);
UpdateVehicleDamageStatus(carid,panels,doors,lights,tires);
TogglePlayerControllable(playerid, 1);
return 1;
    }
  }
}
 
 
Ma scuzi,am uitat.

Nu vreau sa fiu un om important,vreau sa fiu un om respectat !

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.