Who can make script that only admins write !umbrella and they tele to the position x y
Forum
CS2D Scripts Admin teleAdmin tele
6 replies 1
Who can make script that only admins write !umbrella and they tele to the position x y
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
addhook("say","_say") admins={0} function _say(id,message) 	if message=="!umbrella" then 		for _,usgn in ipairs(admins) do 			if player(id,"usgn")==usgn then 				parse("setpos "..id.." XPOS YPOS") 			end 		end 	end end
parse("setpos "..id.." XPOS YPOS") I must change XPOS AND YPOS :
like ? : parse("setpos "..id.." 2132 2111")
1
admins={2356,123,6543,234}
Separated by a comma.
1