PDA

View Full Version : Car prices on LC


Kunal
7th January 2010, 20:44
Hello, people!

There is a problem, I know it can be solved. But I do not know how! (

I wanted to change the prices on car (Liberty cruise), changed the 2 files "Form1" and "dealer" but going to the server response was no (server reboots, do not fool =))

I beg you to help! Where to change the price of cars?

:shrug:

All thanks, decided himself!

Bremskiller18akaHeinz
28th February 2010, 00:42
Hi i hope to can help you.......

Change the RED MARKED INFOS.......




// UF1
if (Connections[GetConnIdx(MSO.UCID)].Cars.Contains("UF1"))
{
InSim.Send_MTC_MessageToConnection("^7UF1 - ^2€3000 ^1€2100^7 - ^2Owned", (MSO.UCID), (MSO.PLID));
}
else
{
if (Connections[GetConnIdx(MSO.UCID)].Cash >= 3000)
{
InSim.Send_MTC_MessageToConnection("^7UF1 - ^2€3000 ^1€2100^7 - ^2Have Enough", (MSO.UCID), (MSO.PLID));
}
if (Connections[GetConnIdx(MSO.UCID)].Cash < 3000)
{
InSim.Send_MTC_MessageToConnection("^7UF1 - ^2€3000 ^1€2100^7 - ^1Need €" + (3000 - Connections[GetConnIdx(MSO.UCID)].Cash), (MSO.UCID), (MSO.PLID));
}
}



AND THE CAR DEALER

case "UF1": return 8500;