if action == GOSSIP_ACTION_INFO_DEF + 1 then -- teleport player to Stormwind query = "SELECT `position_x` , `position_y` , `position_z` , `orientation` , `map` FROM `game_tele` WHERE `name`= `SW`"; tele1 = sDatabase:Query(query) tele2 = tele1:Fetch() player:TeleportTo(tele2[4]:GetInt32(), tele2[0]:GetInt32(), tele2[1]:GetInt32() , tele2[2]:GetInt32() , tele2[3]:GetInt32(), false, true );