Forum

> > CS2D > General > Suggestion "trigger_cost"
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Suggestion "trigger_cost"

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Suggestion "trigger_cost"

Carton
User Off Offline

Zitieren
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!

alt Re: Suggestion "trigger_cost"

DC
Admin Off Offline

Zitieren
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.

alt Re: Suggestion "trigger_cost"

NEMILF
COMMUNITY BANNED Off Offline

Zitieren
DC hat geschrieben
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

alt Re: Suggestion "trigger_cost"

DC
Admin Off Offline

Zitieren
Probably yes.

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

alt LUA-UNO

New Rex
User Off Offline

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


BTW: Click here.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht