You cannot change the "singleplayer" garage menus or prices.
Put you can do some workarounds. You could either script your own garage(s), or add some things under OnVehicleMod callback.
For example
Код:
public OnVehicleMod(playerid, vehicleid, componentid)
{
GivePlayerMoney(playerid, -10000);
SendClientMessage(playerid, COLOR_GREEN, "Every component costs 10 000$ extra");
return 1;
}
Would make every component 10 000$ more expensive.
You could also do this for every component seperately.
Код:
public OnVehicleMod(playerid, vehicleid, componentid)
{
switch( componentid )
{
case 1010: //nitro
GivePlayerMoney(playerid, -1000);
default: // everything else
GivePlayerMoney(playerid, -10000);
}
return 1;
}
But still, the price in the "singleplayer tuning menu" would remain the same.