your right, cant believe i forgot that, its onActionActionHey. now its:
PHP Code:
function onActionWarpPlayerw(pobj, dest){
temp.warp = findplayerbycommunityname(pobj);
warp.setlevel2(dest[0], dest[1], dest[2]);
}
//#CLIENTSIDE
function onKeyPressed(6) {
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);
}
}
}
but still, not working.