Forum

> > CS2D > Scripts > What's Wrong With My Lua??
Forums overviewCS2D overview Scripts overviewLog in to reply

English What's Wrong With My Lua??

2 replies
To the start Previous 1 Next To the start

old What's Wrong With My Lua??

Ridho
User Off Offline

Quote
addhook("serveraction" , "f3")
function f3(id,action)
     if action==3 then
     parse("equip "..id.." 41")
     parse("equip "..id.." 45")
     parse("equip "..id.." 69")
     parse("equip "..id.." 76")
     parse("equip "..id.." 83")
     parse("speedmod "..id.." 15")
     parse("setmaxhealth "..id.." 250")
     msg2(id,"©000255000Admin Weapon Choosed")
end

addhook("team" , "priki")
function priki(id,team)
     id=image("gfx/dragon_wings.bmp",X,Y,1,1,200+id)
     imagealpha(id1,0.6)
          if team==1 then
          imagecolor(id,255,0,0)
     else
          imagecolor(id,0,0,255)
     end
end

old Re: What's Wrong With My Lua??

KaBooMa
User Off Offline

Quote
Not to be rude, but can you tell use what it is or isn't doing?

edit: your fast ( to post above ) Right before me. I guess i didnt look enough.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview