Thread: sparring zone
View Single Post
  #4  
Old 06-10-2007, 03:49 AM
ff7chocoboknight ff7chocoboknight is offline
Skyzer Zolderon
ff7chocoboknight's Avatar
Join Date: Dec 2006
Location: New Hampshire, United States
Posts: 725
ff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to all
Send a message via AIM to ff7chocoboknight Send a message via MSN to ff7chocoboknight
ok someone sent me a pm on graal with this in it...
PHP Code:
if (createdsetshape 1,32,32
if (
actionwarp) { 
  
with(getplayer(#p(0))) "levelname,x,y;" 

//#CLIENTSIDE 
if (created || timeout) { 
  
setstring this.player_1-online,false
  
setstring this.player_2-online,false
  for(
this.i=0this.i<playerscountthis.i++) { 
    if (
players[this.i].x in |"x,y"| && players[this.i].y in |"x,y"|) { 
      if (
strequals(#a(this.i),#s(this.player_1))) { 
        
setstring this.player_1-online,true
      }elseif (
strequals(#a(this.i),#s(this.player_2))) { 
        
setstring this.player_2-online,true
      } 
    } 
  } 
  if (
strequals(#s(this.player_1-online),false)) setstring this.player_1,; 
  
if (strequals(#s(this.player_2-online),false)) setstring this.player_2,; 
  
setstring this.players,; 
  for(
this.i=0this.i<playerscountthis.i++) { 
    if (
players[this.i].x in |"x,y"| && players[this.i].y in |"x,y"|) { 
      if (
strequals(#s(this.player_1),) && !strequals(#a(this.i),#s(this.player_1))) { 
        
setstring this.player_1,#a(this.i); 
      
}elseif (strequals(#s(this.player_2),) && !strequals(#a(this.i),#s(this.player_1))) { 
        
setstring this.player_2,#a(this.i); 
      
}elseif (!strequals(#a(this.i),#s(this.player_1)) && !strequals(#a(this.i),#s(this.player_2))) addstring this.players,#a(this.i); 
    

  } 
  for(
this.i=0this.i<sarraylen(this.players); this.i++) { 
    
triggeraction x+1,y+1,warp,#I(this.players,this.i); 
  

  
timeout .05

This script is sscaring me...
__________________
Reply With Quote