Forum

> > CS2D > General > Problem w/ Team Mod
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Problem w/ Team Mod

3 replies
To the start Previous 1 Next To the start

old closed Problem w/ Team Mod

Slayer
User Off Offline

Quote
I don't knw how to activate Aaa told me and still don't knw! wtf is going with my life!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
admin_usgn = {66847, 24395, 75108,} 

addhook("team","adminteam") 
function adminteam(id,team) 
	if team == 2 then --if ct
		for index,USGN in ipairs(admin_usgn) do 
			if player(id,"usgn") == 66847 or player(id,"usgn") == 24395 or player(id,"usgn") == 75108
				return 0
			else 
				return 1
			end 
		end 
	end 
end

old Re: Problem w/ Team Mod

stealth
User Off Offline

Quote
Make

admin_usgn = {66847, 24395, 75108,}

to

admin_usgn = {66847, 24395, 75108}

And

for index,USGN in ipairs(admin_usgn) do
     if player(id,"usgn") == 66847 or player(id,"usgn") == 24395 or player(id,"usgn") == 75108
          return 0
     else
          return 1
     end
end

to

for index,USGN in ipairs(admin_usgn) do
     if player(id,"usgn") == USGN
          return 0
     end
end
return 1

Maybe this works.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview