Forum

> > CS2D > General > help to resolve me the problem
Forums overviewCS2D overviewGeneral overviewLog in to reply

English help to resolve me the problem

2 replies
To the start Previous 1 Next To the start

old closed help to resolve me the problem

vladik4301
User Off Offline

Quote
addhook([[team]],[[rp_team]])
function rp_team(id,t)
     if player(id,[[ip]])==[[***.***.*.*]] then
          if not player(id,[[bot]]) then
               rp_license[id]=true
               rp_ct[id]=true
          end
     end
     if t == 2 and rp_ct[id]==true then
          rp_license[id]=true
          return 0
     elseif t == 2 and rp_ct[id]==false then
          parse([[maket ]]..id)
          return 1
     end
end








how do I do to add another admin?

old Re: help to resolve me the problem

Vectarrio
User Off Offline

Quote
1) You must go to Lua scripting/questions/help thread instead of making new one.
2) add "or" to ip check:
1
if player(id,[[ip]])==[[***.***.*.*]] or player(id,[[ip]])==[[***.***.*.*]] then
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview