ok so i've got the init whice exec in the start:
Cash = 190
really thats it.
now i've made a script of buying a trabant:
_cash = cash
if (_cash <180) then (goto "exit") else goto "ok";
#ok
"Trabant" createvehicle getpos GL1;
cash = _cash - 180
exit
#exit
Dude sidechat "You dont have enough money!"
exit
-------Dude is the player, GL1 is the game logic whice the trabant shows up in------
it just makes the trabant appear, and tells me That i dont have enough money, and the money doesnt go down.
so eventually i get lots of free trabants, whice is good, just not what i want
so, anybody?