Forum

> > CS2D > General > Suggestion "trigger_cost"
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Suggestion "trigger_cost"

7 replies
To the start Previous 1 Next To the start

old Suggestion "trigger_cost"

Carton
User Off Offline

Quote
Hello!I have a suggestion. It will be cool if it will have a new entity nammed "trigger_cost". It's a normal trigger except there is a new box nammed "cost".
So if i use this entity, i will lose money.
Bye bye!

old Re: Suggestion "trigger_cost"

DC
Admin Off Offline

Quote
well, there are two possibilities:

× the bad solution: I add like thousand new entities/triggers so that everyone is confused.


√ the good solution: you learn Lua script and use
1
parse("setmoney "..playerid.." "..money)


I'm not going to add the entities so you have to learn Lua I think.

old Re: Suggestion "trigger_cost"

NEMILF
COMMUNITY BANNED Off Offline

Quote
DC has written
Lua is a pretty simple scripting language which is used in many games.


Is it used in UNO?
IMG:https://www.lssproducts.com/images/uploads/441004_Braille_Uno.jpg

old Re: Suggestion "trigger_cost"

DC
Admin Off Offline

Quote
Probably yes.

@bertykiller: both.
you can have Lua serverscripts (sys/lua/server.lua) and Lua mapscripts (maps/YOURMAPNAME.lua)

old LUA-UNO

New Rex
User Off Offline

Quote
What do you mean of Lua at UNO game??


BTW: Click here.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview