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(pobjdest){
  
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.nw22};
      
triggeraction(this.0.5this.0.5"warpPlayerw"temp.accttemp.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