
02-18-2012, 04:18 AM
|
|
Delterian Hybrid
|
 |
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
|
|
Quote:
Originally Posted by ffcmike
It's because clientside player.level is the singular level, whereas serverside player.level would be the map object, while player.x and player.y is relevant to your map coordinates.
You don't really need to be passing level and coordinates for a basic summon though, you could just do:
PHP Code:
case "summon":
temp.pl = findplayer(params[1]);
if(temp.pl == NULL){
return;
}
temp.pl.setlevel2(player.level.name, player.x, player.y);
break;
|
Thank you so much <3 |
|
|
|