PHP Code:
g = findplayer(params[1]);
if (params[0] == "warpto") {
setlevel2(g.level, g.x, g.y);
would make the current player warp too the other players position >_>
try
PHP Code:
if (params[0] == "warpto") {
with(findplayer(params[1])) {
setlevel2(params[2], params[3], params[4]);
ALSO you can add the coordinats in the triggerserver();