0 Members and 1 Guest are viewing this topic.
elseif (engineoff == $3) && ($2 < 100) { WSV.cmdlevelcheck $1- if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.setvehicleengine $4 0 if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.msg $2 Vehicle $chr(91) $WSV.vehiclename($4) $chr(93) engine turned off else WSV.msg $2 This is not your vehicle! } elseif (engineon == $3) && ($2 < 100) { WSV.cmdlevelcheck $1- if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.setvehicleengine $4 2 if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.msg $2 Vehicle $chr(91) $WSV.vehiclename($4) $chr(93) engine turned on else WSV.msg $2 This is not your vehicle! }
elseif (engineoff == $3) && ($2 < 100) { WSV.cmdlevelcheck $1- WSV.setvehicleengine $4 0 $WSV.vehiclename($4) $chr(93) engine turned off } elseif (engineon == $3) && ($2 < 100) { WSV.cmdlevelcheck $1- WSV.setvehicleengine $4 2 $WSV.vehiclename($4) $chr(93) engine turned on }
and alias for engineon not alias -.-!