Forum

> > CS2D > Scripts > Money script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Money script

2 replies
To the start Previous 1 Next To the start

old Money script

Caelenn
User Off Offline

Quote
Hi.
How to make that if I write !car it takes me 1000$ ?
If i write:
1
2
3
4
5
6
7
addhook("say","say_car")
function say_car(id,txt)
	if (txt=="!car") then
		freeimage(id) 
		id=image("gfx/cs2d.bmp",1,1,200+id)
		parse ("setmoney "..id.." -1000");
                end
It set my money to 0$. Help!
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview