1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
usertype[0]=4 commands = {} commands.admin {"explode","kick","destroy"} addhook("say","sayed") function sayed(id,txt) 		if user_type[player(id,"usgn")] == 4 then 			for i = 1,#commands.admin do 				if (string.find(txt,commands.admin[i])~=nil) then 					commandprocessor(id,txt) 					break 				else 					msg2(id,"error: Command doesnt exists") 				end 			end 		end