Forum

> > CS2D > General > Stupid Lua/Dedicated-Server Problem
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Stupid Lua/Dedicated-Server Problem

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Stupid Lua/Dedicated-Server Problem

Jermuk
User Off Offline

Zitieren
Hello all,

I posted this already in Lua Scriopt Thread, but then I realized, that this is a server, not lua, problem.
I have a supid problem. My script works with "New game" fine, but when I try it on a dedicated server it fails. First I thought that it is a script problem but then i tried this:
1
2
3
4
5
6
7
addhook ("usebutton", "onusebutton")
function onusebutton(id,x,y)
	msg("ICH MAG DONER");
	.
	.
	.
end

With dedicated it don't display "Ich mag Doner", wich means, that the server don't call the "usebutton" hook. When I start a game with 'New game' it works fine, but just when I press a button. When other press a button, it don't work. Anyone else with the same problem and know the solution?

Thank you!

Jermuk aka Dönarmaster
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht