on *:SIGNAL:mta.command:{
if ($3 == !sellcar) {
if ($mta.area($1,$2) == Sunshine-Autos) {
if ($mta.vehicle($1,$2).name != foot && $mta.vehicle($1,$2).name != Unknown) {
mta.say $1 $mta.name($1,$2) Sold $mta.vehicle($1,$2).name for $rpg.worth($1,$2)
!writeini -n " $+ $scriptdir $+ Bank.ini" Bank $mta.name($1,$2) $calc($mta.bank($1,$2) + $rpg.worth($1,$2))
!writeini -n " $+ $scriptdir $+ BuySell.ini" Sell $mta.name($1,$2) $mta.vehicle($1,$2))
}
else mta.msg $1 $2 You need to be in a car
}
else mta.msg $1 $2 You're not at Sunshine Autos!
}
}
try that, havn't scripted in awhile but should do what you want - you had the if's and else's messed up in your script