The online racing simulator
Searching in All forums
(1 results)
erensozer41
S3 licensed
Quote from mokoko1234 :DarkTimes


<?php 
NPL
.Cname "VWS"// Error

AutoProperty remove pls

Before 
//Error
        /// <summary>
        /// Gets the car name of the player.
        /// </summary>
        
public string CName get; private set; }

After //No Error
        /// <summary>
        /// Gets the car name of the player.
        /// </summary>
        
public string CName getset; }


if (
NPL.CName == "XFG" && NPL.H_TRes == 50 && NPL.H_Mass == 200)
                {
                    
NPL.CName "VWS";
                    
//Leave pit message
                    
MsgAll(PlayerName "Car: Volkswagen Scirocco");
                }
// No buy xfg
// !buy VWS
// Select XFG
// Intake Restriction = 50
// Added Mass = 200
// Leave pit VWS Tweaked Cars Nto open VWS Real sv :)
// No buy VWS
// !buy XFG
// Select XFG and Intake Restriction 50 Added Mass 200 Thief Car :)

// + Payout System
if (C.Cars == "VWS")
{
cash.Next(510);
}

// Dealer
case "VWS": return 35000;

// Buy

if (StrMsg[1].ToUpper() == "VWS")
{
MsgPly("Volkswagen Scirocco (VWS) ^7This car is in the garage!"MSO.UCID);
}

if (
StrMsg[1].ToUpper() == "VWS")
{
MsgPly("Insufficient amount of money ^1Volkswagen Scirocco (VWS)"MSO.UCID);
if (
Connections[GetConnIdx(MSO.UCID)].Cash <= Dealer.GetCarPrice(StrMsg[1]))
{
MsgPly("^9 Prices: ^1$" Dealer.GetCarPrice(StrMsg[1]) + " ^7Necessary: ^2$" + (9000 Connections[GetConnIdx(MSO.UCID)].Cash), MSO.UCID);
}
}

case 
"VWS":
Cars Cars " " "VWS";
Connections[GetConnIdx(MSO.UCID)].Cars Cars;
Connections[GetConnIdx(MSO.UCID)].Cash -= Dealer.GetCarPrice("VWS");
MsgAll("^9 " Connections[GetConnIdx(MSO.UCID)].PlayerName " ^7bought ^VWS");
MsgPly("^9 Buy Car: ^1Volkswagen Scirocco (VWS) Garage Add"MSO.UCID);
MsgPly("^9 Car Prices: ^1$" Dealer.GetCarPrice("VWS") + " ^7Remaining Money: ^2$" Connections[GetConnIdx(MSO.UCID)].Cash ""MSO.UCID);
break;

// Sell

if (StrMsg[1].ToUpper() == "VWS")
{
MsgPly("^9 sold ^1Volkswagen Scirocco (VWS)"MSO.UCID);
MsgPly("^9 Cash: ^1$" Dealer.GetCarValue(StrMsg[1].ToUpper()) + " ^7Remaining Money: ^2$" Connections[GetConnIdx(MSO.UCID)].CashMSO.UCID);
}

// Prices List
MsgAll("^3[VWS]^7 Volkswagen Scirocco ^1$" string.Format("{0:n0}"Dealer.GetCarPrice("VWS")) + " ^9- ^2" string.Format("{0:n0}"Dealer.GetCarValue("VWS")) + "$");
?>


thank you Smile
FGED GREDG RDFGDR GSFDG