WOOOT!
Ive just tryed:
PHP Code:
findPlayer("Schetti").addweapon(this.name);
function onActionserverside() {
switch(params[0]) {
case "positions":
this.mouse_x = params[1];
this.mouse_y = params[2];
player.chat = params[1];
}
}
//#CLIENTSIDE
function onMouseDown() {
triggerserver("gui", this.name, "positions", mousex, mousey);
}
IT WORKS!
I think ive got all I wanted atm!
thanks

another step for a 13 years old boy into a great world of scripting