View Single Post
  #10  
Old 08-28-2009, 01:30 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by sssssssssss View Post
PHP Code:
function warpPlayerw(pobj, dest)
  {
  
pobj.setlevel2(dest[0], dest[1], dest[2]);
}

//#CLIENTSIDE
function onKeyPressed() {
  if (
keydown(6)) {
    if (
onwater(player.x+1.5,player.y+2)){
      
temp.acct = player.account;
      
temp.dest = {testtourny.nw, 2, 2};
      
triggeraction(this.x + 0.5, this.y + 0.5, "warpPlayerw", temp.acct, temp.dest);

    }
  }
} 
still getting nothing.
You sent up the account name, not the player object. Do a findplayer(acct) on the account serverside once you have it.
Reply With Quote