Thread: checking...
View Single Post
  #3  
Old 05-12-2007, 05:46 AM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
PHP Code:
function onPlayerTouchsMe()
{
  
this.scheduleEvent(3, "check", {player.account, player.x, player.y});
}

function 
onCheck(pa, px, py)
{
  
temp.pl = findPlayer(pa);

  if (
temp.pl.x == px && temp.pl.y == py)
  {
    
// you stood still
  
}
} 
^-- that what you want?
__________________
- Zidane / Zidaya
Reply With Quote