Thread: Help :(
View Single Post
  #12  
Old 08-22-2009, 07:21 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
I fixed the case problems, still nothing.
I missed the case problems, but I understand the triggers and what they do, but as you said as well, cant use triggerserver or client in a level npc.
so, im left with

PHP Code:
function onCreated() setshape(1,32,32);

function 
onActionmidi(p0,p1){
  if (
p0!="midi")return;
  
serverr.sdemidi=p1;
  for(
i:players)i.triggeraction(this.x+1,this.y+1,"enter",midi);

}

//#CLIENTSIDE
function onCreated() setshape(1,32,32);

function 
onPlayerchats(){
  if (!(
player.account in "sssssssssss""Decus_Arillias" })) return;
  if (!(
player.chat.starts("playmidi"))return;
  
t=player.chat.tokenize();
  
triggeraction(this.x+1,this.y+1,"midi",t[1]);
}

function 
onPlayerenters()
  
playmidi(serverr.sdemidi);

function 
onActionenter(p0,p1)
  if (
p1=="midi")onPlayerenters(); 
For whatever reason still, its not getting sent to the server.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote