1
2
3
4
5
2
3
4
5
function usebutton(id,x,y)
	if (x==17) and (y==19) then
		mapchange("de_dust2")
	end
end
Of course i want to change map from button, the position of button is OK, mapname - also. Zero errors.
edited 1×, last 02.01.11 02:46:11 am
What is bad :)
1 
Offline
why u use lua, map editor has Func_GameAction > Load Map X
