View Single Post
  #14  
Old 08-28-2009, 01:49 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){
  
temp.warp = findplayerbycommunityname(pobj);
  
warp.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 nada. I think I did it right and understood you, if not, please explain in detail. :/
Yeah, you got that correct.
I just noticed another error was that you didn't put testtourny.nw in quotes, which you need to do for all strings, otherwise it'll try to read it as a variable.
Reply With Quote