hehe... Ill jus give a quick solution here (not to encourage not searching)
in init.sqs
man1money = 100
change 100 with whatever money I want em to have
then, in a buy script, put this somewhere
man1money = man1money -40
change 40 with whatever price
If U wanna check the money, try this (untested)
man sidechat format ["I have %1 in my pocket",man1money]
email me if U want anymore help (
davePAKAPali@hotmail.com