thanks
Forum
CS2D Scripts Fast Reload (Only Admin)Fast Reload (Only Admin)
6 replies 1
thanks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
admins = {33997} function isadmin(id) 	for _, usgn in ipairs(admins) do 		if player(id,"usgn")==usgn then 			return true 		else 			return false 		end 	end end addhook("say","fastreload") function fastreload(id,txt) 	if isadmin(id)==true then 		if player(id,"process")==1 then 			if txt:sub(1,10)=="fastreload" then 				parse("equip "..id.." "..player(id,"weapontype")) 			end 		end 		return 1 	end end
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
admins = {USGN,USGN} addhook("attack","a") function a(id,w) 	for k,v in ipairs(admins) do 		if player(id,"usgn") == v then 		parse("equip "..id.." "..w) 		parse("setweapon "..id.." "..w) 		end 	end end
oh, thanks filbumwinter.
1