Forum




How to create ATM?
8 replies




Admin/mod comment

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





