Ich habe das gemacht,
ocmd:goto (playerid,params[]){ if(!isPlayerAnAdmin(playerid,1)) return SendClientMessage(playerid,COLOR_RED,"Du bist kein Admin!"); new Float:x, Float:y, Float:z, pID, string[128]; if(sscanf(params, "u", pID)) return SendClientMessage(playerid,COLOR_GREY,"/goto [ID]"); new adminname[MAX_PLAYER_NAME]; GetPlayerName(playerid, adminname, MAX_PLAYER_NAME); new toport[MAX_PLAYER_NAME]; GetPlayerName(pID, toport, MAX_PLAYER_NAME); format(string,sizeof(string)," => %s hat sich zu %s teleportiert !", adminname, toport); GetPlayerPos(pID, x, y, z); new int; int = GetPlayerInterior(pID); SetPlayerPos(playerid, x, y, z); SetPlayerInterior(playerid, int); SendClientMessage(pID,COLOR_WHITE,"Ein Admin hat sich zu dir Teleportiert!"); SendClientMessageToAll(COLOR_RED,string); return 1;}