View Single Post
  #6  
Old 02-20-2009, 08:40 PM
Schetti Schetti is offline
SC2 Player
Schetti's Avatar
Join Date: Nov 2008
Location: Austria
Posts: 269
Schetti is on a distinguished road
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"mousexmousey);


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
__________________
“Peace cannot be kept by force. It can only be achieved by understanding.” – Albert Einstein
Reply With Quote