Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
How to create ATM?
8 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
![user](img/i_friend.png)
Admin/mod comment
![Rules](img/v_illegal.png)
All you have to do is, to give a value for both of the ATM.x and the ATM.y with your ATM's position, and continue that empty section with your own script.
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
ATM = {}; ATM.x = --ATM X coordination ATM.y = --ATM Y coordination addhook("use", "_use") function _use(id, event, data, x, y) 	if event == 100 then 		if x == ATM.x and y == ATM.y then 			--Do your script here 		end 	end end
![user](img/i_friend.png)
![user](img/i_friend.png)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)