
08-28-2009, 01:30 AM
|
|
Banned
|
Join Date: Feb 2007
Posts: 1,002
|
|
Quote:
Originally Posted by sssssssssss
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. |
|
|
|