Hey,
Ich habe eine frage kann man eigentlich die KFZ steuer die der Spieler zahlen muss hier auch einfügen und festlegen?
Code
new kfzSteuer = GetPlayerVehicleCount(playerid)*100;
Spieler[playerid][pBank] -= kfzSteuer;
Others[Staatskasse] += steuerGeld;
format(string, sizeof(string), "KFZ-Steuer: -%d$", kfzSteuer);
SendClientMessage(playerid, COLOR_WHITE, string);
Derzeit.
Möchte das ändern z.b
Landstalker | 30$ |
Bravura | 12$ |
Buffalo | 371$ |
verschiedene kfzsteuer pro Fahrzeug
Code
new VehicleShop[][pVehicle_BuyData] =
{
// modelid, Name[35], Autohaus[40], Preis, Float:aPosx, Float:aPosy, Float:aPosz, Float:aPosa, Float:buySpawnX, Float:buySpawnY, Float:buySpawnZ, Float:buySpawnA
// Grotti
{602, "Alpha", "Grottis", 270000, 567.4398,-1289.0343,17.0585,4.0191, 548.1157,-1267.1152,16.9351,312.7629}, // 270000 Alpha Grottis
Oder kann man es hier einfügen?
Code
new VehicleData[][e_VehicleData_Info] =
{
{400,70.0,0.36,2},{401,60.0,0.32,2},{402,70.0,0.36,1},{403,200.0,0.42,2},
{404,45.0,0.35,2},{405,60.0,0.32,2},{406,300.0,0.40,2},{407,200.0,0.40,2},
{408,150.0,0.42,2},{409,50.0,0.35,2},{410,60.0,0.32,2},{411,70.0,0.36,3},
{412,40.0,0.31,2},{413,60.0,0.34,2},{414,60.0,0.34,2},{415,70.0,0.36,1},
{416,80.0,0.32,1},{417,1750.0,1.35,4},{418,45.0,0.35,2},{419,60.0,0.32,2},
{420,40.0,0.27,2},{421,60.0,0.32,2},{422,60.0,0.34,2},{423,100.0,0.35,2},
{424,40.0,0.36,2},{425,2500.0,1.7,4},{426,60.0,0.32,2},{427,150.0,0.40,1},
{428,125.0,0.38,2},{429,70.0,0.36,1},{430,200.0,0.60,1},{431,200.0,0.40,1},
{432,200.0,0.40,1},{433,200.0,0.40,1},{434,70.0,0.36,1},{435,60.0,0.32,2},
{436,60.0,0.32,2},{437,200.0,0.40,1},{438,65.0,0.32,2},{439,55.0,0.32,2},
{440,65.0,0.32,1},{441,2.0,0.21,1},{442,55.0,0.32,2},{443,200.0,0.40,1},
{444,125.0,0.36,1},{445,60.0,0.32,2},{446,200.0,0.60,2},{447,325.0,1.7,4},
{448,7.0,0.25,3},{449,2.0,0.21,1},{450,2.0,0.21,1},{451,70.0,0.36,3},
{452,175.0,0.60,1},{453,350.0,0.60,1},{454,350.0,0.60,1},{455,200.0,0.42,1},
{456,200.0,0.42,1},{457,15.0,0.25,2},{458,45.0,0.35,2},{459,65.0,0.32,2},
{460,460.0,1.7,4},{461,25.0,0.28,1},{462,7.0,0.25,1},{463,25.0,0.28,1},
{464,2.0,0.21,1},{465,2.0,0.21,1},{466,45.0,0.32,2},{467,50.0,0.32,2},
{468,25.0,0.28,1},{469,500.0,1.7,4},{470,70.0,0.36,1},{471,25.0,0.28,1},
{472,350.0,0.60,1},{473,125.0,0.60,1},{474,60.0,0.32,2},{475,70.0,0.36,1},
{476,475.0,1.7,4},{477,70.0,0.36,1},{478,60.0,0.34,1},{479,45.0,0.35,2},
{480,55.0,0.32,2},{481,1.0,0.0,0},{482,60.0,0.34,2},{483,60.0,0.34,2},
{484,350.0,0.60,1},{485,25.0,0.28,1},{486,350.0,0.28,1},{487,375.0,1.7,4},
{488,350.0,1.7,4},{489,70.0,0.36,1},{490,70.0,0.36,1},{491,60.0,0.32,2},
{492,60.0,0.32,2},{493,350.0,0.60,1},{494,70.0,0.36,3},{495,70.0,0.36,1},
{496,45.0,0.36,1},{497,350.0,1.7,4},{498,150.0,0.42,1},{499,70.0,0.42,1},
{500,70.0,0.36,1},{501,2.0,0.21,1},{502,70.0,0.36,3},{503,70.0,0.36,3},
{504,60.0,0.32,1},{505,70.0,0.36,1},{506,70.0,0.36,3},{507,60.0,0.32,2},
{508,90.0,0.38,1},{509,1.0,0.0,0},{510,1.0,0.0,0},{511,325.0,1.7,4},
{512,350.0,1.7,4},{513,250.0,1.7,4},{514,180.0,0.42,1},{515,200.0,0.42,1},
{516,60.0,0.32,2},{517,60.0,0.32,2},{518,60.0,0.32,2},{519,1250.0,2.2,4},
{520,1500.0,2.2,4},{521,25.0,0.40,1},{522,25.0,0.40,1},{523,25.0,0.40,1},
{524,200.0,0.42,1},{525,90.0,0.38,2},{526,60.0,0.32,2},{527,60.0,0.32,2},
{528,65.0,0.32,1},{529,60.0,0.32,2},{530,25.0,0.28,1},{531,25.0,0.28,1},
{532,125.0,0.35,1},{533,55.0,0.32,2},{534,40.0,0.31,2},{535,40.0,0.31,2},
{536,40.0,0.31,2},{537,2.0,0.21,1},{538,2.0,0.21,1},{539,25.0,0.28,1},
{540,60.0,0.32,2},{541,70.0,0.36,3},{542,45.0,0.32,2},{543,40.0,0.34,2},
{544,175.0,0.42,1},{545,55.0,0.32,2},{546,60.0,0.32,2},{547,60.0,0.32,2},
{548,550.0,1.7,4},{549,60.0,0.32,2},{550,60.0,0.32,2},{551,60.0,0.32,2},
{552,60.0,0.36,2},{553,750.0,2.2,4},{554,60.0,0.34,1},{555,55.0,0.32,2},
{556,150.0,0.36,1},{557,150.0,0.36,1},{558,70.0,0.36,1},{559,70.0,0.36,1},
{560,60.0,0.32,1},{561,45.0,0.35,2},{562,60.0,0.32,2},{563,750.0,1.7,4},
{564,2.0,0.21,1},{565,70.0,0.36,1},{566,40.0,0.31,2},{567,40.0,0.31,2},
{568,70.0,0.36,1},{569,2.0,0.21,1},{570,2.0,0.21,1},{571,7.0,0.25,2},
{572,25.0,0.28,2},{573,120.0,0.38,1},{574,25.0,0.28,2},{575,40.0,0.31,2},
{576,40.0,0.31,2},{577,1250.0,2.2,4},{578,100.0,0.42,1},{579,70.0,0.36,1},
{580,60.0,0.32,2},{581,25.0,1.0,2},{582,60.0,0.34,1},{583,25.0,1.0,1},
{584,2.0,0.21,1},{585,60.0,0.32,2},{586,25.0,0.28,1},{587,70.0,0.36,1},
{588,70.0,0.36,1},{589,70.0,0.36,1},{590,2.0,0.21,1},{591,2.0,0.21,1},
{592,3500.0,2.2,4},{593,225.0,1.7,4},{594,2.0,0.21,1},{595,225.0,0.60,1},
{596,65.0,0.32,1},{597,65.0,0.32,1},{598,65.0,0.32,1},{599,70.0,0.36,1},
{600,60.0,0.34,2},{601,200.0,0.40,1},{602,70.0,0.36,1},{603,70.0,0.36,1},
{604,60.0,0.32,2},{605,60.0,0.34,2},{606,2.0,0.21,1},{607,2.0,0.21,1},
{608,2.0,0.21,1},{609,85.0,0.32,1},{610,2.0,0.21,1},{611,2.0,0.21,1}
};
Alles anzeigen