1.
extract the files to the appropriate directory
2.
sys/lua/server.lua hat geschrieben
dofile("sys/lua/calculator.lua")
3.
if you dont have my misc.lua running, then please add this to servertransfer.lst
if you do have misc.lua running, everything should work (just be sure you start the server twice, sense cs2d loads servertransfer.lst BEFORE lua)
sys/ServerTransfer.lst hat geschrieben
gfx/calculator/calc_background.png
gfx/calculator/button_close.png
gfx/calculator/button_0.png
gfx/calculator/button_1.png
gfx/calculator/button_2.png
gfx/calculator/button_3.png
gfx/calculator/button_4.png
gfx/calculator/button_5.png
gfx/calculator/button_6.png
gfx/calculator/button_7.png
gfx/calculator/button_8.png
gfx/calculator/button_9.png
gfx/calculator/button_coma.png
gfx/calculator/button_back.png
gfx/calculator/button_ce.png
gfx/calculator/button_c.png
gfx/calculator/button_+-.png
gfx/calculator/button_sqrt.png
gfx/calculator/button_add.png
gfx/calculator/button_sub.png
gfx/calculator/button_mult.png
gfx/calculator/button_div.png
gfx/calculator/button_equal.png
gfx/calculator/button_1x.png
gfx/calculator/button_%.png
4.
now, if you do got other luas, i suggest you change the id of, hudtxt, you do this by going to line 34 and 35 and change the id values of hudtxt
calculator.hudtxtID1 = 1
calculator.hudtxtID2 = 2
5.
now your ready to go!, to call the calculator, say !calc or !calculator