Forum
CS2D Scripts players are moving in the direction of scrolling tplayers are moving in the direction of scrolling t
10 replies 1
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
addhook("ms100","elevator") function elevator() 	for _,id in pairs (player(0,"tableliving")) do 		local x = player(id,"tilex") 		local y = player(id,"tiley") 		local YOUR_TILE = 33 		if tile(x,y,"frame") == YOUR_TILE then 			parse("setpos "..id.." "..player(id,"x").." "..player(id,"y")+1) 		end 	end end
Now when a person stands on tile 33, he will move down.
edited 1×, last 06.07.15 07:38:57 pm
edited 1×, last 06.07.15 05:48:22 pm
I don't know a foreign language and are not able to formulate the problem correctly. players must move in the direction scrolling WA tile , but they don't move
i can downland TeamViewer, but I don't know how to use it
// Glad we could sort it out. You're welcome.
edited 1×, last 06.07.15 07:39:19 pm
1