I don't know if this is a bug or if I'm doing this wrong, but it worked a few weeks ago using this method and it's not working now. I'm basically trying to "summon" a player by sending my level, x and y to the serverside, then warping the player to the said co-ordinates. For some reason, if I'm on a gmap, it will warp the player far to the right of my co-ordinates.
This is the summon trigger.
PHP Code:
case "summon":
with(findplayer(params[1])) {
temp.slevel = params[2];
temp.sx = params[3];
temp.sy = params[4];
player.setlevel2(temp.slevel,temp.sx,temp.sy);
}
break;
and this is what I'm sending to the server.
PHP Code:
triggerserver("gui",name,"summon",wc_TextList1.selected.text,player.level,player.x,player.y);
wc_TextList1.selected.text being a players account name.
Any ideas?